FlowerItem.cs 656 B

123456789101112131415161718192021222324
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. public class FlowerItemLabel
  5. {
  6. public static string ArrowPos = "ArrowPos";
  7. public static string Status = "Status";
  8. public static string Icon = "Icon";
  9. public static string FlowerItem = "FlowerItem";
  10. public static string UIParticleSystem = "UIParticleSystem";
  11. public static string Amount = "Amount";
  12. public static string UIFlash = "UIFlash";
  13. }
  14. public class FlowerItem : MonoBehaviour
  15. {
  16. public void OnDisable()
  17. {
  18. transform.GetChild(0).GetChild(0).SetActive(false);
  19. transform.GetChild(0).GetChild(1).SetActive(false);
  20. }
  21. }