public void CreateAnswer() { Cursor.visible = true; Jawaban1.text = choicesLines[0]; Jawaban2.text = choicesLines[1]; Choices.SetActive(true); Choices2.SetActive(true); }
public void _Choice2() { Cursor.visible = false; isQuestion = false; Choices.SetActive(false); Choices2.SetActive(false); _CreateResponse2(); theGame.bisaGerak = true; }
//theGame _gameParent; void Awake() { dialogText = dialogPanel.transform.Find("Text").GetComponent <Text>(); nameText = dialogPanel.transform.Find("Nama").GetChild(0).GetComponent <Text>(); Jawaban1 = Choices.transform.Find("Text").GetComponent <Text>(); Jawaban2 = Choices2.transform.Find("Text").GetComponent <Text>(); dialogPanel.SetActive(false); Choices.SetActive(false); Choices2.SetActive(false); NPC_ = this.gameObject; animasi = GetComponent <Animator>(); bersembunyi = true; originalRot = transform.rotation; // _gameParent = GetComponent<theGame>(); }