1234567891011121314151617 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class CloseItem : MonoBehaviour
- {
- public GameObject NameObj;
- public BoxCollider box;
- // Start is called before the first frame update
- void Start()
- {
- NameObj.SetActive(false);
- box.enabled = false;
- }
-
- }
|