C# Класс TouchScript.Behaviors.Visualizer.TouchProxyBase

Base class for TouchVisualizer cursors.
Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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