示例#1
0
 void Awake()
 {
     if (GameManagerScript.CheckInstanceExist())
     {
         Destroy(this.gameObject);
     }
 }
    void Awake()
    {
        if (GameManagerScript.CheckInstanceExist())
        {
            Destroy(this.gameObject);
        }

        QualitySettings.vSyncCount  = 0;
        Application.targetFrameRate = targetFrameRate;

        //ResumeGame();
    }