Example #1
0
 // -------------------------------------------------------------------------------
 // AutoFindManagers
 // -------------------------------------------------------------------------------
 protected void AutoFindManagers()
 {
     if (!networkManager)
     {
         networkManager = FindObjectOfType <BaseNetworkManager>();
     }
 }
Example #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>();
     }
 }