Photon Unity Networking 2 2.30

Public Member Functions | List of all members
IOnPhotonViewControllerChange Interface Reference

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

Inherits IPhotonViewCallback.

Public Member Functions

void OnControllerChange (Player newController, Player previousController)
 This method will be called when the PhotonView's controller changes. More...
 

Detailed Description

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

Member Function Documentation

◆ OnControllerChange()

void OnControllerChange ( Player  newController,
Player  previousController 
)

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

Parameters
newOwner
previousOwner