Example #1
0
    private void OnLockChanged()
    {
        previousLockState = CurrentLockState;

        for (int i = OnLockChangedListeners.Count - 1; i >= 0; i--)
        {
            OnLockChangedListeners[i].OnLockChanged(this, CurrentLockState);
        }
    }
Example #2
0
 private void OnEnable()
 {
     previousLockState = CurrentLockState;
 }