Photon Fusion 2.0.3

Public Member Functions | List of all members
IDespawned Interface Reference

Interface for Despawned callback. Called when a NetworkBehaviour is despawned. More...

Inherits IPublicFacingInterface.

Inherited by NetworkBehaviour.

Public Member Functions

void Despawned (NetworkRunner runner, bool hasState)
 Called when a NetworkBehaviour is despawned. More...
 

Detailed Description

Interface for Despawned callback. Called when a NetworkBehaviour is despawned.

Member Function Documentation

◆ Despawned()

void Despawned ( NetworkRunner  runner,
bool  hasState 
)

Called when a NetworkBehaviour is despawned.

Parameters
runnerNetworkRunner that despawned the NetworkBehaviour.
hasStateWhether the NetworkBehaviour has state.

Implemented in HitboxRoot, and NetworkBehaviour.