Class CreateHudWindowDraftReloadTests
The HUD the author is still editing in the HUD Builder must survive a script compile: it lives in a
scratch definition nothing has written to disk yet, so a reload that throws the scratch away throws the
author's work away with it. Drives the window's own OnDisable/OnEnable around a reload that
loses the scratch instance — the harshest shape Unity can hand back.
Inherited Members
Namespace: Serenity.GameUi.Tests.Editor.Builder
Assembly: Serenity.GameUi.Tests.Editor.dll
Syntax
public class CreateHudWindowDraftReloadTests
Constructors
CreateHudWindowDraftReloadTests()
Declaration
public CreateHudWindowDraftReloadTests()
Methods
AHudDeletedBeforeAReload_KeepsTheLoadedValuesAndTheSummarySaysConfirmingCreatesItAgain()
Declaration
public void AHudDeletedBeforeAReload_KeepsTheLoadedValuesAndTheSummarySaysConfirmingCreatesItAgain()
AnUnsavedHudEdit_SurvivesADomainReloadThatLosesTheScratch()
Declaration
public void AnUnsavedHudEdit_SurvivesADomainReloadThatLosesTheScratch()
OneTimeTearDown()
Declaration
public void OneTimeTearDown()
TearDown()
Declaration
public void TearDown()