Class MessageReceiver
Handles message receiving via editor workflow. Use this if you want to quickly add message receiver functionality to a game object without having to adjust code in your other scripts.
Inheritance
System.Object
MessageReceiver
Namespace: MalteHusung.GlobalMessage
Assembly: cs.temp.dll.dll
Syntax
public class MessageReceiver : MonoBehaviour
Remarks
It is slightly more performant to handle message receiving directly in your scripts e.g. via editor message object references.
Fields
_editorMessageObject
Declaration
protected MessageTypeBase _editorMessageObject
Field Value
| Type | Description |
|---|---|
| MessageTypeBase |
Methods
MessageReceived(Object[])
Declaration
protected virtual void MessageReceived(object[] messageParameters)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object[] | messageParameters |
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnValidate()
Declaration
protected virtual void OnValidate()
UpdateEventParameters()
Returns true if changes were made
Declaration
protected virtual bool UpdateEventParameters()
Returns
| Type | Description |
|---|---|
| System.Boolean |