Exemple #1
0
        public virtual void StopPress()
        {
            CurrentState  = State.Hover;
            ActivePointer = null;

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