class MAGES::ComponentLibrary::InteractionNetworkEvents¶
Overview¶
A class that contains events related to the network interaction. More…
class InteractionNetworkEvents: public MonoBehaviour
{
public:
// properties
bool IsSelected;
bool IsActivated;
UnityEvent Activated;
UnityEvent Deactivated;
// methods
void InternalSetSelected(bool value);
void InternalSetActivated(bool value);
};
Detailed Documentation¶
A class that contains events related to the network interaction.
Properties¶
bool IsSelected
Gets a value indicating whether the object is selected in the network.
bool IsActivated
Gets a value indicating whether the object is activated in the network.
UnityEvent Activated
Gets the event invoked when remote activation starts.
UnityEvent Deactivated
Gets the event invoked when remote activation ends.
Methods¶
void InternalSetSelected(bool value)
Sets the selected state of the object internally.
Parameters:
value |
The value of the selected. |
void InternalSetActivated(bool value)
Sets the activated state of the object internally.
Parameters:
value |
The value of the activated. |