C# Class UnityEngine.EventSystems.PointerInputModule.MouseButtonEventData

Information about a mouse button event.

Mostra file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
buttonData PointerEventData
buttonState PointerEventData.FramePressState

Public Methods

Method Description
PressedThisFrame ( ) : bool

Was the button pressed this frame?

ReleasedThisFrame ( ) : bool

Was the button released this frame?

Method Details

PressedThisFrame() public method

Was the button pressed this frame?

public PressedThisFrame ( ) : bool
return bool

ReleasedThisFrame() public method

Was the button released this frame?

public ReleasedThisFrame ( ) : bool
return bool

Property Details

buttonData public_oe property

Pointer data associated with the mouse event.

public PointerEventData,UnityEngine.EventSystems buttonData
return PointerEventData

buttonState public_oe property

The state of the button this frame.

public PointerEventData.FramePressState buttonState
return PointerEventData.FramePressState