C# 클래스 TouchScript.Behaviors.Visualizer.TouchProxyBase

Base class for TouchVisualizer cursors.
상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: TouchScript/TouchScript 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
rect UnityEngine.RectTransform
size int

공개 메소드들

메소드 설명
Hide ( ) : void

Hides this instance.

Init ( RectTransform parent, TouchPoint touch ) : void

Initializes (resets) the cursor.

UpdateTouch ( TouchPoint touch ) : void

Updates the touch. This method is called when the touch is moved.

update ( TouchPoint touch ) : void

This method is called every time when the touch changes.

보호된 메소드들

메소드 설명
hide ( ) : void

Hides (clears) this instance.

show ( ) : void

Shows this instance.

updateOnce ( TouchPoint touch ) : void

This method is called once when the cursor is initialized.

비공개 메소드들

메소드 설명
Awake ( ) : void

메소드 상세

Hide() 공개 메소드

Hides this instance.
public Hide ( ) : void
리턴 void

Init() 공개 메소드

Initializes (resets) the cursor.
public Init ( RectTransform parent, TouchPoint touch ) : void
parent UnityEngine.RectTransform Parent container.
touch TouchPoint Touch this cursor represents.
리턴 void

UpdateTouch() 공개 메소드

Updates the touch. This method is called when the touch is moved.
public UpdateTouch ( TouchPoint touch ) : void
touch TouchPoint Touch this cursor represents.
리턴 void

hide() 보호된 메소드

Hides (clears) this instance.
protected hide ( ) : void
리턴 void

show() 보호된 메소드

Shows this instance.
protected show ( ) : void
리턴 void

update() 공개 메소드

This method is called every time when the touch changes.
public update ( TouchPoint touch ) : void
touch TouchPoint The touch.
리턴 void

updateOnce() 보호된 메소드

This method is called once when the cursor is initialized.
protected updateOnce ( TouchPoint touch ) : void
touch TouchPoint The touch.
리턴 void

프로퍼티 상세

rect 보호되어 있는 프로퍼티

Cached RectTransform.
protected RectTransform,UnityEngine rect
리턴 UnityEngine.RectTransform

size 보호되어 있는 프로퍼티

Cursor size.
protected int size
리턴 int