C# Class X10D.Unity.TransformExtensions

Extension methods for Transform.
Afficher le fichier Open project: oliverbooth/X10D

Méthodes publiques

Méthode Description
LookAt ( Transform transform, GameObject other ) : void

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

Method Details

LookAt() public static méthode

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.
Résultat void