Photon.Pun.MonoBehaviourPun Class Reference
This class adds the property photonView, while logging a warning when your game still uses the networkView. More...
Inheritance diagram for Photon.Pun.MonoBehaviourPun:

Properties | |
PhotonView | photonView [get] |
A cached reference to a PhotonView on this GameObject. More... | |
Detailed Description
This class adds the property photonView, while logging a warning when your game still uses the networkView.
Property Documentation
◆ photonView
|
get |
A cached reference to a PhotonView on this GameObject.
If you intend to work with a PhotonView in a script, it's usually easier to write this.photonView.
If you intend to remove the PhotonView component from the GameObject but keep this Photon.MonoBehaviour, avoid this reference or modify this code to use PhotonView.Get(obj) instead.
The documentation for this class was generated from the following file:
- 3rd-Party/Photon/PhotonUnityNetworking/Code/PunClasses.cs