Method | Description | |
---|---|---|
LookAt ( Transform transform, GameObject other ) : void |
Rotates the current Transform such that is is facing another GameObject.
|
public static LookAt ( Transform transform, GameObject other ) : void | ||
transform | Transform | The current transform. |
other | GameObject | The target. |
return | void |