C# Класс X10D.Unity.TransformExtensions

Extension methods for Transform.
Показать файл Открыть проект

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

Метод Описание
LookAt ( Transform transform, GameObject other ) : void

Rotates the current Transform such that is is facing another GameObject.

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

LookAt() публичный статический Метод

Rotates the current Transform such that is is facing another GameObject.
/// is null /// - or - /// is null. ///
public static LookAt ( Transform transform, GameObject other ) : void
transform Transform The current transform.
other GameObject The target.
Результат void