コード例 #1
0
    public void Complete()
    {
        GameController.incomebonus   += bonus;
        GameController.currentproject = null;

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

        ProjectStart.EndProject();
    }
コード例 #2
0
ファイル: ProjectStart.cs プロジェクト: WMZL/QIF3D_EXE
 void Awake()
 {
     if (m_Instance == null)
     {
         m_Instance = this;
     }
     LoadConfig();
     CreateTreeNodes();
     InitNetInfo();
     Application.runInBackground = true;
     GameObject.DontDestroyOnLoad(this);
 }