void OnTriggerEnter(Collider col) { YesGameObject.SetActive(false); TextGameObject.SetActive(false); OriginalTextGameObject.SetActive(true); this.gameObject.SetActive(false); }
void OnTriggerEnter(Collider col) { if (col.gameObject.CompareTag("Controller")) { YesGameObject.SetActive(true); NoGameObject.SetActive(true); TextGameObject.SetActive(true); this.gameObject.SetActive(false); } }