What I want to do:
I want to do a pause menu. But, mouse look isnt lock.
What I've tried:
I'm write a script, where i tried:
using Hertzole.GoldPlayer; public class PauseMenu : MonoBehaviour { public GoldPlayerController Player; Player.Camera.CanLookAround = false; }
But, it's not worked.
upd: because i'm placed it in wrong public void, sorry
What I want to do: I want to do a pause menu. But, mouse look isnt lock.
What I've tried: I'm write a script, where i tried:
using Hertzole.GoldPlayer; public class PauseMenu : MonoBehaviour { public GoldPlayerController Player; Player.Camera.CanLookAround = false; }
But, it's not worked.upd: because i'm placed it in wrong public void, sorry