Photon.Pun.IOnPhotonViewControllerChange Interface Reference

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

Inheritance diagram for Photon.Pun.IOnPhotonViewControllerChange:
Photon.Pun.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 Photon.Pun.IOnPhotonViewControllerChange.OnControllerChange ( Player  newController,
Player  previousController 
)

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

Parameters
newOwner
previousOwner

The documentation for this interface was generated from the following file: