logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ErrorMessages.UiComponents

    UI component validation error messages

    Inheritance
    object
    ErrorMessages.UiComponents
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Shared.Constants
    Assembly: Serenity.Shared.dll
    Syntax
    public static class ErrorMessages.UiComponents

    Fields

    CANVAS_COMPONENT_NOT_FOUND

    Declaration
    public const string CANVAS_COMPONENT_NOT_FOUND = "Canvas component not found in instantiated Ui prefab"
    Field Value
    Type Description
    string

    THEME_NULL

    Declaration
    public const string THEME_NULL = "Theme cannot be null"
    Field Value
    Type Description
    string

    UI_PREFAB_NULL

    Declaration
    public const string UI_PREFAB_NULL = "Ui prefab is null in UiSettings"
    Field Value
    Type Description
    string

    Methods

    GetTemplateBrokenReferenceError(string)

    Declaration
    public static string GetTemplateBrokenReferenceError(string templateName)
    Parameters
    Type Name Description
    string templateName
    Returns
    Type Description
    string

    GetTemplateNotGameObjectError(string)

    Declaration
    public static string GetTemplateNotGameObjectError(string templateName)
    Parameters
    Type Name Description
    string templateName
    Returns
    Type Description
    string

    GetTemplateNullError(string)

    Declaration
    public static string GetTemplateNullError(string templateName)
    Parameters
    Type Name Description
    string templateName
    Returns
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved