Photon Unity Networking 2: OnClickRpc Class Reference

Photon Unity Networking 2

This component will instantiate a network GameObject when in a room and the user click on that component's GameObject. Uses PhysicsRaycaster for positioning. More...

Inherits MonoBehaviourPun, and IPointerClickHandler.

Public Member Functions

void ClickRpc ()
 
IEnumerator ClickFlash ()
 

Public Attributes

PointerEventData.InputButton Button
 
KeyCode ModifierKey
 
RpcTarget Target
 

Additional Inherited Members

- Properties inherited from MonoBehaviourPun
PhotonView photonView [get]
 A cached reference to a PhotonView on this GameObject. More...
 

Detailed Description

This component will instantiate a network GameObject when in a room and the user click on that component's GameObject. Uses PhysicsRaycaster for positioning.

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH