Пример #1
0
        public virtual void StopPress()
        {
            CurrentState  = State.Hover;
            ActivePointer = null;

            _line.positionCount = 0;
            _line.enabled       = false;
            FadePanel.gameObject.SetActive(false);
            _pointerIndicatorTargetSize = 0f;
        }
Пример #2
0
 public virtual void OnEnable()
 {
     CurrentState = State.Inactive;
     _pointerIndicatorTargetSize = _pointerIndicatorCurrentSize = 0f;
     ActivePointer = null;
 }
Пример #3
0
 public virtual void StopTouch()
 {
     CurrentState  = State.Hover;
     ActivePointer = null;
 }
Пример #4
0
 public virtual void StartTouch(XrpPointer pointer)
 {
     CurrentState  = State.Touch;
     ActivePointer = pointer;
 }