void PauseTime() { this.timeState = TimeStateEnum.PAUSED; // volume.GetComponent<PostProcessVolume>().enabled = true; // volume.GetComponent<PostProcessVolume>().isGlobal = true; }
void ResumeTime() { this.timeState = TimeStateEnum.NORMAL; // volume.GetComponent<PostProcessVolume>().enabled = false; // volume.GetComponent<PostProcessVolume>().isGlobal = false; }
void Awake() { this.timeState = TimeStateEnum.NORMAL; }