C# Класс ScreenRegion, swip3

Наследование: MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ClampToScreenRegion ( Vector3 aimPos, Vector3 &clampedPos, Vector3 &clampedDirection ) : float

Clamps a transform to this screen region and rotates it to face the aimPos

Update ( ) : void

Приватные методы

Метод Описание
OnDrawGizmos ( ) : void
Start ( ) : void

Описание методов

ClampToScreenRegion() публичный Метод

Clamps a transform to this screen region and rotates it to face the aimPos
public ClampToScreenRegion ( Vector3 aimPos, Vector3 &clampedPos, Vector3 &clampedDirection ) : float
aimPos Vector3 Aim position.
clampedPos Vector3
clampedDirection Vector3
Результат float

Update() публичный Метод

public Update ( ) : void
Результат void