C# Класс CameraFollow.FocusArea, DreamCatcher

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

Открытые свойства

Свойство Тип Описание
center Vector2
velocity Vector2

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

Метод Описание
FocusArea ( Bounds targetBounds, Vector2 size ) : System.Collections
Update ( Bounds targetBounds ) : void

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

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

public FocusArea ( Bounds targetBounds, Vector2 size ) : System.Collections
targetBounds Bounds
size Vector2
Результат System.Collections

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

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

Описание свойств

center публичное свойство

public Vector2 center
Результат Vector2

velocity публичное свойство

public Vector2 velocity
Результат Vector2