示例#1
0
    public void BackGame()
    {
        if (_previousShapeVertices != null)
        {
            _previousShapeVertices.DontPreserve();
            _previousShapeVertices = null;
        }

        fader.FinishGame(titleSceneName, null);
    }
示例#2
0
 private void _PostFinish()
 {
     if (!_finishing && !_restarting)
     {
         _finishing = true;
         PostFinish();
         shape.DontPreserve();
         GameManager.Instance.SendMessage("FinishedLevel");
     }
 }