private void OnStateChanged(TimeLock.State newState) { animator.SetBool("Open", newState == TimeLock.State.Opened); }
private void OnStateChanged(TimeLock timeLock, TimeLock.State state) { saveData.OpenedLocks[timeLock.Day] = state == TimeLock.State.Opened; Save(); }