private void StartLevel() { // Debug.Log("StartingLevel!"); Unfreeze(); resetObservable.EmitNotification(); AudioManagerSingle.Instance.PlayClip(AudioManagerSingle.AudioEffectType.Siren, 1, true); }
private void Unfreeze() { if (!_frozen) { return; } unfreezeObservable.EmitNotification(); _frozen = false; }
public void Freeze() { if (_frozen) { return; } freezeObservable.EmitNotification(); _frozen = true; }
public void SetAuthStatus(AuthStatus authStatus) { authStateChangedObservable.EmitNotification(authStatus); }
private void Update() => timeObservable.EmitNotification(UnityEngine.Time.deltaTime);