Photon Unity Networking 2 2.45

Public Member Functions | Public Attributes | List of all members
OnClickRpc Class Reference

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.