void Update() { if (serifMade) { if (serifBool) { if (rule.IamBoy) { Instantiate(serifBoyObj); } if (!rule.IamBoy) { Instantiate(serifGirlObj); } serifBool = false; } } if (point == 7) { if (buttonBool) { Instantiate(button1Obj); buttonBool = false; } } if (point == 11) { if (!buttonBool) { Instantiate(button2Obj); buttonBool = true; } } if (point == 14) { if (Obj2Bool) { if (rule.EdmondIsHuman) { Instantiate(edObj2); } if (!rule.EdmondIsHuman) { Instantiate(monObj2); } Obj2Bool = false; } } if (point == 19) { target = FindObjectOfType <ModorukaTarget>(); target.selectOK = true; } }
void Start() { rule = FindObjectOfType <GameRule>(); target = FindObjectOfType <ModorukaTarget>(); if (rule.EdmondIsHuman) { Instantiate(edmondObj); } if (!rule.EdmondIsHuman) { Instantiate(monmonObj); } }
void StartScene() { if (point == 3) { if (apatoBool) { Instantiate(apatoObj); apatoBool = false; } } if (point == 5) { target = FindObjectOfType <ModorukaTarget>(); target.selectOK = true; } }
void Start() { rule = FindObjectOfType <GameRule>(); target = FindObjectOfType <ModorukaTarget>(); }