Beispiel #1
0
    void StartPlaying()
    {
        playing = true;

#if !UNITY_EDITOR
        Cursor.lockState = CursorLockMode.Locked;
#endif

        player.StartPlaying();
        collectables.StartPlaying();
    }