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.
Inherited Members
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()