Example #1
0
 void Awake()
 {
     controller   = GetComponent <GameController>();
     connectioner = GetComponent <DBConnectioner>();
 }
Example #2
0
 // Use this for initialization
 void Awake()
 {
     roomNavigation = GetComponent <RoomNavigation>();
     connectioner   = GetComponent <DBConnectioner>();
     connectioner.ConnectToDB();
 }