FlowerItem.cs 288 B

12345678910111213
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. public class FlowerItem : MonoBehaviour
  5. {
  6. public void OnDisable()
  7. {
  8. transform.GetChild(0).GetChild(0).SetActive(false);
  9. transform.GetChild(0).GetChild(1).SetActive(false);
  10. }
  11. }