// Use this for initialization void Start() { nextStage = false; DoorEffect = GameObject.Find("DoorEffect"); AboutErica = GameObject.Find("AboutErica").GetComponent <csEricaItem>(); DoorEffect.SetActive(false); ButtonController = GameObject.Find("ButtonController").GetComponent <csButtonController> (); DialogController = GameObject.Find("DialogController").GetComponent <csDialogueFirstRoom> (); }
// Use this for initialization void Start() { nextStage = false; ButtonController = GameObject.Find("ButtonController").GetComponent <csButtonController> (); }