Declaration
public void Teleport(Vector3 position)
public void Teleport(Vector3 position, Quaternion rotation)
Parameter
position | The location where the character is to be teleported to. |
rotation | The direction in which the character is to be teleported. The default value is the current direction the character is facing. |
Description
Teleports a character. This method is only valid for local players.