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