Photon Fusion 2.0.3

Public Member Functions | List of all members
ISimulationExit Interface Reference

Interface for the SimulationExit callback. Called when the NetworkObject leaves AreaOfInterest. Implement this interface on SimulationBehaviour and NetworkBehaviour classes. More...

Inherits IPublicFacingInterface.

Public Member Functions

void SimulationExit ()
 Called when the NetworkObject leaves AreaOfInterest. Object is no longer receiving snapshot updates. Object will stop executing NetworkBehaviour FixedUpdateNetwork() and Render() methods until the object rejoins simulation. More...
 

Detailed Description

Interface for the SimulationExit callback. Called when the NetworkObject leaves AreaOfInterest. Implement this interface on SimulationBehaviour and NetworkBehaviour classes.

Member Function Documentation

◆ SimulationExit()

void SimulationExit ( )

Called when the NetworkObject leaves AreaOfInterest. Object is no longer receiving snapshot updates. Object will stop executing NetworkBehaviour FixedUpdateNetwork() and Render() methods until the object rejoins simulation.