Class MessageTypeEditorSettingsAttribute
Add this attribute to your message types to control their level of integration into the editor.
Inheritance
System.Object
MessageTypeEditorSettingsAttribute
Namespace: MalteHusung.GlobalMessage
Assembly: cs.temp.dll.dll
Syntax
public class MessageTypeEditorSettingsAttribute : Attribute
Properties
Description
Is displayed in editor to give users more info about this message type.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UseEditorFeatures
If set to false, the message type will not be visible in GlobalMessage's editor windows and messages can not be sent directly from editor windows (sending from MessageSender is not affected).
This is useful for messages that are not directly game related e.g. messages used in editor scriptingDeclaration
public bool UseEditorFeatures { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseEditorMessageObject
If set to false, no editor message object (emo) for this message type is used by GlobalMessage.
This means no emo is displayed in the editor windows, no emo is created automatically, no emo is kept up to date (i.e. type renames not reflected).Declaration
public bool UseEditorMessageObject { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |