Photon Unity Networking 2 2.30

Public Member Functions | List of all members
CullingHandler Class Reference

Handles the network culling. More...

Inherits MonoBehaviour, and 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 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 IPunObservable.