Advertisement
vai-vai-kitay

Untitled

Jul 31st, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. void Start ()
  2. {
  3. bugSenseHandler.Start ();
  4. // Debug.Log ("Networking | AppData.sgc location: " + Application.persistentDataPath);
  5. indicator.SetActive (false);
  6. // PlayerPrefsSecure.SetBool ("lastExitInOffline", false);
  7. Crash (0);
  8.  
  9. if (authWindowComponent == null) authWindowComponent = (AuthWindowBehaviour) FindObjectOfType (typeof (AuthWindowBehaviour));
  10. if (managerComponent == null) managerComponent = (ResourceManagerGlobal) FindObjectOfType (typeof (ResourceManagerGlobal));
  11. if (settingsComponent == null) settingsComponent = (TestSettings) FindObjectOfType (typeof (TestSettings));
  12. }
  13.  
  14. public void Crash(int i)
  15. {
  16. Crash(i++);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement