Attribute disables the field when Unity is in Pause mode.
[DisableInPauseMode] public float timeScale; [DisableInPauseMode] public bool isPaused;
Last updated 1 month ago