예제 #1
0
 public void SetHandState(HandStateEnum newState)
 {
     if (!_stateLocked)
     {
         HandAnimator.SetInteger(HAND_STATE_PARAMETER, (int)newState);
     }
 }
예제 #2
0
 public void SetGrabState(bool isGrabbing, HandStateEnum grabState)
 {
     HandAnimator.SetInteger(HAND_STATE_PARAMETER, (int)grabState);
     _stateLocked = isGrabbing;
 }
예제 #3
0
 protected virtual void Reset()
 {
     HoverHandState      = HandStateEnum.Free;
     ActivationHandState = HandStateEnum.Free;
 }