Esempio n. 1
0
 // -------------------------------------------------------------------------------
 // AutoFindManagers
 // -------------------------------------------------------------------------------
 protected void AutoFindManagers()
 {
     if (!networkManager)
     {
         networkManager = FindObjectOfType <BaseNetworkManager>();
     }
 }
Esempio n. 2
0
 // -------------------------------------------------------------------------------
 // AutoFindManagers
 // -------------------------------------------------------------------------------
 protected void AutoFindManagers()
 {
     if (!networkManager)
     {
         networkManager = FindObjectOfType <BaseNetworkManager>();
     }
     if (!databaseManager)
     {
         databaseManager = FindObjectOfType <DatabaseManager>();
     }
     if (!mailManager)
     {
         mailManager = FindObjectOfType <MailManager>();
     }
     if (!passwordManager)
     {
         passwordManager = FindObjectOfType <PasswordManager>();
     }
 }