class MAGES::Networking::InteractableNetworkEvents

Overview

The network events regarding the interactable. More…

class InteractableNetworkEvents: public MonoBehaviour
{
public:
    // properties

    UnityEvent HoverEntered;
    UnityEvent HoverExited;
    UnityEvent FirstHoverEntered;
    UnityEvent LastHoverExited;
    UnityEvent SelectEntered;
    UnityEvent SelectExited;
    UnityEvent FirstSelectEntered;
    UnityEvent LastSelectExited;
    UnityEvent ActivateEntered;
    UnityEvent ActivateExited;
    UnityEvent FirstActivateEntered;
    UnityEvent LastActivateExited;
};

Detailed Documentation

The network events regarding the interactable.

Properties

UnityEvent HoverEntered

Gets or sets the UnityEvent invoked when an interactor begins hovering this interactable.

UnityEvent HoverExited

Gets or sets the UnityEvent invoked when an interactor ends hovering this interactable.

UnityEvent FirstHoverEntered

Gets or sets the UnityEvent invoked when the first interactor begins hovering this interactable.

This event will not be invoked when there is an interactor hovering this interactable and another interactor begins hovering it.

UnityEvent LastHoverExited

Gets or sets the UnityEvent invoked when the first interactor begins hovering this interactable.

This event will not be invoked when an interactor stops hovering this interactable but another interactor is still hovering it.

UnityEvent SelectEntered

Gets or sets the UnityEvent invoked when an interactor begins selecting this interactable.

UnityEvent SelectExited

Gets or sets the UnityEvent invoked when an interactor has finished selecting this interactable.

UnityEvent FirstSelectEntered

Gets or sets the UnityEvent invoked when the first interactor begins hovring this interactable.

This event will not be invoked when there is an interactor hovering this interactable and another interactor begins selecting it.

UnityEvent LastSelectExited

Gets or sets the UnityEvent invoked when the first interactor begins hovring this interactable.

This event will not be invoked when an interactor stops selecting this interactable but another interactor is still selecting it.

UnityEvent ActivateEntered

Gets or sets the UnityEvent invoked when an interactor has began activation of this interactable.

UnityEvent ActivateExited

Gets or sets the UnityEvent invoked when an interactor has ended activation of this interactable.

UnityEvent FirstActivateEntered

Gets or sets the UnityEvent invoked when the first interactor has began activation of this interactable.

This event will not be invoked when an interactor stops activating this interactable but another interactor is still activating it.

UnityEvent LastActivateExited

Gets or sets the UnityEvent invoked when the first interactor begins hovring this interactable.

This event will not be invoked when an interactor stops activating this interactable but another interactor is still activating it.