Instantiates a networked GameObject on click. More...
Inherits MonoBehaviour, and IPointerClickHandler.
Public Types | |
enum | InstantiateOption |
Public Attributes | |
PointerEventData.InputButton | Button |
KeyCode | ModifierKey |
GameObject | Prefab |
Instantiates a networked GameObject on click.
Gets OnClick() calls by Unity's IPointerClickHandler. Needs a PhysicsRaycaster on the camera. See: https://docs.unity3d.com/ScriptReference/EventSystems.IPointerClickHandler.html