Example #1
0
 void Start()
 {
     m_gameController       = GameObject.FindGameObjectWithTag("GameController");
     m_binaryDecipherScript = m_gameController.GetComponentInChildren <BinaryDecipher> ();
 }
 void Start()
 {
     binaryDecipher = FindObjectOfType <BinaryDecipher>();
     doorController = FindObjectOfType <DoorController>();
 }