Search Results for

    Show / Hide Table of Contents

    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 scripting
    Declaration
    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). Editor message objects that already exist for the message type are not deleted. That has to be done by hand in the project.
    Declaration
    public bool UseEditorMessageObject { get; set; }
    Property Value
    Type Description
    System.Boolean
    In This Article
    Back to top Malte HusungLeave a ReviewLegal Noticethank you ❤️