Interface IOnPlayerTeleport
Listen for player teleport events and do something when the player is teleported.
Namespace: nickmaltbie.OpenKCC.Character
Assembly: cs.temp.dll.dll
Syntax
public interface IOnPlayerTeleport
Methods
OnPlayerTeleport(Vector3, Quaternion)
When a player is teleported to a given location.
Declaration
void OnPlayerTeleport(Vector3 destPos, Quaternion destRot)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | destPos | Position being teleported to. |
Quaternion | destRot | Rotation being teleported to. |