Method TurnTo
TurnTo(Entity, Int32)
Declaration
public void TurnTo(Entity target, int duration = -1)
Parameters
Type | Name | Description |
---|---|---|
Entity | target | |
System.Int32 | duration |
TurnTo(Vector3, Int32)
Declaration
public void TurnTo(Vector3 position, int duration = -1)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | |
System.Int32 | duration |