C# 클래스 UnityEngine.EventSystems.PointerInputModule

A BaseInputModule for pointer input.

상속: BaseInputModule
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_PointerData PointerEventData>.Dictionary

공개 메소드들

메소드 설명
IsPointerOverGameObject ( int pointerId ) : bool
ToString ( ) : string

보호된 메소드들

메소드 설명
ClearSelection ( ) : void

Clear all pointers and deselect any selected objects in the EventSystem.

CopyFromTo ( PointerEventData from, PointerEventData to ) : void

Copy one PointerEventData to another.

DeselectIfSelectionChanged ( GameObject currentOverGo, BaseEventData pointerEvent ) : void

Deselect the current selected GameObject if the currently pointed-at GameObject is different.

GetLastPointerEventData ( int id ) : PointerEventData

Return the last PointerEventData for the given touch / mouse id.

GetMousePointerEventData ( ) : MouseState

Return the current MouseState.

GetMousePointerEventData ( int id ) : MouseState

Return the current MouseState.

GetPointerData ( int id, PointerEventData &data, bool create ) : bool
GetTouchPointerEventData ( Touch input, bool &pressed, bool &released ) : PointerEventData
PointerInputModule ( ) : System
ProcessDrag ( PointerEventData pointerEvent ) : void

Process the drag for the current frame with the given pointer event.

ProcessMove ( PointerEventData pointerEvent ) : void

Process movement for the current frame with the given pointer event.

RemovePointerData ( PointerEventData data ) : void

Remove the PointerEventData from the cache.

StateForMouseButton ( int buttonId ) : PointerEventData.FramePressState

Given a mouse button return the current state for the frame.

비공개 메소드들

메소드 설명
ShouldStartDrag ( Vector2 pressPos, Vector2 currentPos, float threshold, bool useDragThreshold ) : bool

메소드 상세

ClearSelection() 보호된 메소드

Clear all pointers and deselect any selected objects in the EventSystem.

protected ClearSelection ( ) : void
리턴 void

CopyFromTo() 보호된 메소드

Copy one PointerEventData to another.

protected CopyFromTo ( PointerEventData from, PointerEventData to ) : void
from PointerEventData
to PointerEventData
리턴 void

DeselectIfSelectionChanged() 보호된 메소드

Deselect the current selected GameObject if the currently pointed-at GameObject is different.

protected DeselectIfSelectionChanged ( GameObject currentOverGo, BaseEventData pointerEvent ) : void
currentOverGo GameObject The GameObject the pointer is currently over.
pointerEvent BaseEventData Current event data.
리턴 void

GetLastPointerEventData() 보호된 메소드

Return the last PointerEventData for the given touch / mouse id.

protected GetLastPointerEventData ( int id ) : PointerEventData
id int
리턴 PointerEventData

GetMousePointerEventData() 보호된 메소드

Return the current MouseState.

protected GetMousePointerEventData ( ) : MouseState
리턴 MouseState

GetMousePointerEventData() 보호된 메소드

Return the current MouseState.

protected GetMousePointerEventData ( int id ) : MouseState
id int
리턴 MouseState

GetPointerData() 보호된 메소드

protected GetPointerData ( int id, PointerEventData &data, bool create ) : bool
id int
data PointerEventData
create bool
리턴 bool

GetTouchPointerEventData() 보호된 메소드

protected GetTouchPointerEventData ( Touch input, bool &pressed, bool &released ) : PointerEventData
input Touch
pressed bool
released bool
리턴 PointerEventData

IsPointerOverGameObject() 공개 메소드

public IsPointerOverGameObject ( int pointerId ) : bool
pointerId int
리턴 bool

PointerInputModule() 보호된 메소드

protected PointerInputModule ( ) : System
리턴 System

ProcessDrag() 보호된 메소드

Process the drag for the current frame with the given pointer event.

protected ProcessDrag ( PointerEventData pointerEvent ) : void
pointerEvent PointerEventData
리턴 void

ProcessMove() 보호된 메소드

Process movement for the current frame with the given pointer event.

protected ProcessMove ( PointerEventData pointerEvent ) : void
pointerEvent PointerEventData
리턴 void

RemovePointerData() 보호된 메소드

Remove the PointerEventData from the cache.

protected RemovePointerData ( PointerEventData data ) : void
data PointerEventData
리턴 void

StateForMouseButton() 보호된 메소드

Given a mouse button return the current state for the frame.

protected StateForMouseButton ( int buttonId ) : PointerEventData.FramePressState
buttonId int Mouse Button id.
리턴 PointerEventData.FramePressState

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

m_PointerData 보호되어 있는 프로퍼티

protected Dictionary m_PointerData
리턴 PointerEventData>.Dictionary