Photon.Pun.UtilityScripts.CullingHandler Class Reference

Handles the network culling. More...

Inheritance diagram for Photon.Pun.UtilityScripts.CullingHandler:
Photon.Pun.IPunObservable

Public Member Functions

void OnPhotonSerializeView (PhotonStream stream, PhotonMessageInfo info)
 This time OnPhotonSerializeView is not used to send or receive any kind of data. It is used to change the currently active group of the PhotonView component, making it work together with PUN more directly. Keep in mind that this function is only executed, when there is at least one more player in the room. More...
 

Detailed Description

Handles the network culling.

Member Function Documentation

◆ OnPhotonSerializeView()

void Photon.Pun.UtilityScripts.CullingHandler.OnPhotonSerializeView ( PhotonStream  stream,
PhotonMessageInfo  info 
)

This time OnPhotonSerializeView is not used to send or receive any kind of data. It is used to change the currently active group of the PhotonView component, making it work together with PUN more directly. Keep in mind that this function is only executed, when there is at least one more player in the room.

Implements Photon.Pun.IPunObservable.


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