public void Complete() { GameController.incomebonus += bonus; GameController.currentproject = null; try { enddecision.Show(); } catch (System.NullReferenceException) { } ProjectStart.EndProject(); }
void Awake() { if (m_Instance == null) { m_Instance = this; } LoadConfig(); CreateTreeNodes(); InitNetInfo(); Application.runInBackground = true; GameObject.DontDestroyOnLoad(this); }