コード例 #1
0
 private void OnStateChanged(TimeLock.State newState)
 {
     animator.SetBool("Open", newState == TimeLock.State.Opened);
 }
コード例 #2
0
 private void OnStateChanged(TimeLock timeLock, TimeLock.State state)
 {
     saveData.OpenedLocks[timeLock.Day] = state == TimeLock.State.Opened;
     Save();
 }