Photon Fusion 2.0.0

Public Member Functions | List of all members
INetworkTRSPTeleport Interface Reference

Implement this interface on a NetworkTRSP implementation to indicate it can be teleported. More...

Inherited by NetworkTransform.

Public Member Functions

void Teleport (Vector3? position=null, Quaternion? rotation=null)
 Teleports to the indicated values, and network the Teleport event.
 

Detailed Description

Implement this interface on a NetworkTRSP implementation to indicate it can be teleported.

Member Function Documentation

◆ Teleport()

void Teleport ( Vector3?  position = null,
Quaternion?  rotation = null 
)

Teleports to the indicated values, and network the Teleport event.

Implemented in NetworkTransform.