示例#1
0
    // Use this for initialization
    void Start()
    {
        string level      = "";
        string checkpoint = "";

        //try to load checkpoint, if checkpointManager exists in scene.
        if (checkPointManager != null)
        {
            checkPointManager.StartGame();
        }
    }