Пример #1
0
    private void Start()
    {
        if (PlayerManager.ActivePlayer())
        {
            Destroy(PlayerManager.ActivePlayer().gameObject);
        }

        if (Cursor.lockState == CursorLockMode.Locked)
        {
            Cursor.lockState = CursorLockMode.None;
        }
    }