logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityUiThemeDefinitionEditorObjectFieldTests

    The UI Theme Definition inspector's template fields hold prefabs only and record a drop for Undo against the theme: a theme asset that kept a scene object would lose the reference on save, and a drop that skipped the theme's undo record could not be taken back. Driven through the inspector's real field-rendering path with IMGUI's object field replaced, since a batch run has no OnGUI pass.

    Inheritance
    object
    UnityUiThemeDefinitionEditorObjectFieldTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Tests.Editor
    Assembly: Tests.Editor.dll
    Syntax
    public class UnityUiThemeDefinitionEditorObjectFieldTests

    Constructors

    UnityUiThemeDefinitionEditorObjectFieldTests()

    Declaration
    public UnityUiThemeDefinitionEditorObjectFieldTests()

    Methods

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    TitlePrefabField_ADroppedPrefab_IsRecordedForUndoAgainstTheTheme()

    Declaration
    public void TitlePrefabField_ADroppedPrefab_IsRecordedForUndoAgainstTheTheme()

    TitlePrefabField_AcceptsAssetsOnly()

    Declaration
    public void TitlePrefabField_AcceptsAssetsOnly()
    In this article
    © 2026 Serenity. All Rights Reserved