Photon Unity Networking 2 2.45

Public Member Functions | List of all members
IOnPhotonViewPreNetDestroy Interface Reference

This interface defines a callback which fires prior to the PhotonNetwork destroying the PhotonView and Gameobject. More...

Inherits IPhotonViewCallback.

Public Member Functions

void OnPreNetDestroy (PhotonView rootView)
 This method is called before Destroy() is initiated for a networked object. More...
 

Detailed Description

This interface defines a callback which fires prior to the PhotonNetwork destroying the PhotonView and Gameobject.

Member Function Documentation

◆ OnPreNetDestroy()

void OnPreNetDestroy ( PhotonView  rootView)

This method is called before Destroy() is initiated for a networked object.

Parameters
rootView