C# Класс FlightCamera, Unity-Free-Flight

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

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

Свойство Тип Описание
cam GameObject
firstPersonPosition Vector3
flareCamAngle float
flareCamDist float
flareDuration float
flareLag float
rotationLag float
target GameObject
thirdPersonLag float
thirdPersonPosition Vector3

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

Метод Описание
Awake ( ) : void
Update ( ) : void
flareLook ( ) : void

Adjust the camera angle for a flare maneuver. The look direction will be the area the player wants to land, forward/below them about 50 degrees. You can adjust the look angle and duration by modifying the flarelook angle/timer variables above.

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

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

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

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

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

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

Adjust the camera angle for a flare maneuver. The look direction will be the area the player wants to land, forward/below them about 50 degrees. You can adjust the look angle and duration by modifying the flarelook angle/timer variables above.
public flareLook ( ) : void
Результат void

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

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

public GameObject cam
Результат GameObject

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

public Vector3 firstPersonPosition
Результат Vector3

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

public float flareCamAngle
Результат float

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

public float flareCamDist
Результат float

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

public float flareDuration
Результат float

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

public float flareLag
Результат float

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

public float rotationLag
Результат float

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

public GameObject target
Результат GameObject

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

public float thirdPersonLag
Результат float

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

public Vector3 thirdPersonPosition
Результат Vector3