private void setEditText() { if (_cursorChanged) { return; } _stateMachine.AddState(CursorStateMachine.State.EditText, this, _priority); _cursorChanged = true; }
private void setResize() { if (_cursorChanged) { return; } _stateMachine.AddState(CursorStateMachine.State.ResizeHorizontal, this, _priority); _cursorChanged = true; }
public void OnPointerEnter(PointerEventData eventData) { if (_cursorChanged) { return; } _stateMachine.AddState(CursorStateMachine.State.WWW, this, _priority); _cursorChanged = true; }
private void setInteraction() { if (_cursorChanged) { return; } _stateMachine.AddState(CursorStateMachine.State.Interaction, this, _priority); _cursorChanged = true; }
public void OnBeginDrag(PointerEventData eventData) { if (_cursorChanged) { return; } _stateMachine.AddState(CursorState, this, Priority); _cursorChanged = true; // Blocking the event is not intended. // Therefore this "rethrows" the event to the next IBeginDragHandler rethrowBeginDrag(eventData); }