using System.Collections; using System.Collections.Generic; using UnityEngine; public class DoolsPlayer : MonoBehaviour { [SerializeField] door_control mesh; // Start is called before the first frame update void Start() { mesh.ÆôÓý»»¥ = false; } private void OnMouseDown() { mesh.ÆôÓý»»¥ = true; gameObject.SetActive(false); } }