예제 #1
0
    public void Complete()
    {
        GameController.incomebonus   += bonus;
        GameController.currentproject = null;

        try { enddecision.Show(); }
        catch (System.NullReferenceException) { }

        ProjectStart.EndProject();
    }
예제 #2
0
 void Awake()
 {
     if (m_Instance == null)
     {
         m_Instance = this;
     }
     LoadConfig();
     CreateTreeNodes();
     InitNetInfo();
     Application.runInBackground = true;
     GameObject.DontDestroyOnLoad(this);
 }