Photon Unity Networking 2 2.30

Public Member Functions | List of all members
IOnPhotonViewOwnerChange Interface Reference

This interface defines a callback for changes to the PhotonView's owner. More...

Inherits IPhotonViewCallback.

Public Member Functions

void OnOwnerChange (Player newOwner, Player previousOwner)
 This method will be called when the PhotonView's owner changes. More...
 

Detailed Description

This interface defines a callback for changes to the PhotonView's owner.

Member Function Documentation

◆ OnOwnerChange()

void OnOwnerChange ( Player  newOwner,
Player  previousOwner 
)

This method will be called when the PhotonView's owner changes.

Parameters
newOwner
previousOwner