CloseItem.cs 334 B

1234567891011121314151617
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class CloseItem : MonoBehaviour
  5. {
  6. public GameObject NameObj;
  7. public BoxCollider box;
  8. // Start is called before the first frame update
  9. void Start()
  10. {
  11. NameObj.SetActive(false);
  12. box.enabled = false;
  13. }
  14. }