Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     doorCutscene = GameObject.Find("Cutscene_Door").GetComponent <StartCutscene>();
     outlinepan   = GameObject.Find("pan").GetComponent <Outlinable>();
     outlineegg   = GameObject.Find("EggShell").GetComponent <Outlinable>();
     bakeegg      = GameObject.Find("StoveTrigger").GetComponent <BakeEggCutscene>();
     stoveknob    = GameObject.Find("StoveKnob").GetComponent <Outlinable>();
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     cutscene        = GameObject.Find("StoveTrigger").GetComponent <BakeEggCutscene>();
     states          = GameObject.Find("StateObject").GetComponent <States>();
     dialoguemanager = GameObject.Find("DialogueManager").GetComponent <DialogueManager>();
 }