Ejemplo n.º 1
0
 /// <Summary>
 /// Set object references to cache them.
 /// </Summary>
 void SetObjRef()
 {
     gameController = GameObject.FindGameObjectWithTag("GameController");
     fadeManager    = gameObject.GetComponent <FadeManager>();
     enterButton    = enterButtonObj.GetComponent <Button>();
 }
Ejemplo n.º 2
0
 void GetRef()
 {
     fadeManager    = gameController.GetComponent <FadeManager>();
     eventProcessor = gameController.GetComponent <EventProcessor>();
 }
Ejemplo n.º 3
0
 /// <Summary>
 /// Set object references to cache them.
 /// </Summary>
 void SetObjRef()
 {
     fadeManager    = gameObject.GetComponent <FadeManager>();
     gameController = GameObject.FindGameObjectWithTag("GameController");
 }