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