Class SerenityExistingAssetRestoreTestSettings
A throwaway asset type for SerenityExistingAssetRestoreTests, carrying one field of every
serialization shape a real settings asset mixes — value types, a string, an enum, a list, a live object
reference and a polymorphic managed-reference graph — so the forgotten-field test has something to walk.
Lives in its own same-named file so Unity can bind its script when the tests create it as an asset
(mirrors UnitySingletonSettingsLoaderTestSettings). The payload types are nested rather
than top-level: they exist only as this fixture's [SerializeReference] element types.
Inheritance
SerenityExistingAssetRestoreTestSettings
Assembly: Tests.Editor.dll
Syntax
public class SerenityExistingAssetRestoreTestSettings : ScriptableObject
Constructors
SerenityExistingAssetRestoreTestSettings()
Declaration
public SerenityExistingAssetRestoreTestSettings()
Fields
Count
Declaration
Field Value
Enabled
Declaration
Field Value
Mode
Declaration
public SerenityExistingAssetRestoreTestSettings.ScratchMode Mode
Field Value
Payloads
Declaration
public List<SerenityExistingAssetRestoreTestSettings.ScratchPayload> Payloads
Field Value
Ratio
Declaration
Field Value
Reference
Declaration
Field Value
RuntimeOnlyNote
Serialization never sees this one, so a restore never puts it back — the forgotten-field
walker must skip it instead of asserting on it.
Declaration
public string RuntimeOnlyNote
Field Value
Declaration
Field Value
Title
Declaration
Field Value
Properties
PrivateNote
Declaration
public string PrivateNote { get; set; }
Property Value