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