- using UnityEngine;
- using System.Collections;
- using System.Collections.Generic;
- public class FlowerItem : MonoBehaviour
- {
- public void OnDisable()
- {
- transform.GetChild(0).GetChild(0).SetActive(false);
- transform.GetChild(0).GetChild(1).SetActive(false);
- }
- }
|