Class UnityCutscenePlayerServiceDialogPanelPrefabTests
One rule decides which dialog panel prefab the player holds: a prefab wired in explicitly replaces it, the prefab found in the labelled settings only fills an empty slot, and settings without one erase nothing.
Inherited Members
Namespace: Serenity.UnityCutscenePlayer.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityCutscenePlayerServiceDialogPanelPrefabTests
Constructors
UnityCutscenePlayerServiceDialogPanelPrefabTests()
Declaration
public UnityCutscenePlayerServiceDialogPanelPrefabTests()
Methods
Awake_WithPresetDefinitions_ReadsNoSettings()
Declaration
public void Awake_WithPresetDefinitions_ReadsNoSettings()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
UseDialogPanelPrefabFrom_APrefabAlreadyGiven_KeepsItUnlessAskedToReplace()
Declaration
public void UseDialogPanelPrefabFrom_APrefabAlreadyGiven_KeepsItUnlessAskedToReplace()
UseDialogPanelPrefabFrom_NoPrefabYet_TakesTheSettingsPrefab_AndAgainChangesNothing()
Declaration
public void UseDialogPanelPrefabFrom_NoPrefabYet_TakesTheSettingsPrefab_AndAgainChangesNothing()
UseDialogPanelPrefabFrom_SettingsWithoutAPrefab_NeverErasesTheOneHeld(bool)
Declaration
public void UseDialogPanelPrefabFrom_SettingsWithoutAPrefab_NeverErasesTheOneHeld(bool replaceExisting)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | replaceExisting |