logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityUiSettingsEditorObjectFieldTests

    The UI Settings inspector's UI prefab field holds a prefab only and records a drop for Undo against the settings asset — a settings asset that kept a scene GameObject would lose the reference on save. 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
    UnityUiSettingsEditorObjectFieldTests
    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 UnityUiSettingsEditorObjectFieldTests

    Constructors

    UnityUiSettingsEditorObjectFieldTests()

    Declaration
    public UnityUiSettingsEditorObjectFieldTests()

    Methods

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    UiPrefabField_ADroppedPrefab_IsRecordedForUndoAgainstTheSettingsAsset()

    Declaration
    public void UiPrefabField_ADroppedPrefab_IsRecordedForUndoAgainstTheSettingsAsset()

    UiPrefabField_AcceptsAssetsOnly()

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