Class ArenaAsset

Namespace
SurvivorsMaker.Data
Assembly
SurvivorsMaker.Data.dll

Inspector-authored arena data converted to a cached runtime definition.

[CreateAssetMenu(menuName = "Survivor Roguelite Maker/Content/Arena", fileName = "Arena")]
public sealed class ArenaAsset : ContentDefinitionAsset<ArenaDef>
Inheritance
Object
ScriptableObject
ArenaAsset
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetEntityId()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags

Constructors

ArenaAsset()

public ArenaAsset()

Fields

CommonGroups

Spawn groups evaluated after the wave groups on every eligible wave. Empty = none.

[Tooltip("Spawn groups evaluated after the wave groups on every eligible wave. Empty = none.")]
public List<SpawnGroupEntry> CommonGroups

Field Value

List<SpawnGroupEntry>

Height

Positive arena height in world units, centred on the origin.

[Tooltip("Positive arena height in world units, centred on the origin.")]
public float Height

Field Value

float

Waves

Ordered wave assets; index 0 is wave 1. At least one valid wave is required.

[Tooltip("Ordered wave assets; index 0 is wave 1. At least one valid wave is required.")]
public List<WaveAsset> Waves

Field Value

List<WaveAsset>

Width

Positive arena width in world units, centred on the origin.

[Tooltip("Positive arena width in world units, centred on the origin.")]
public float Width

Field Value

float

Methods

Populate(ArenaDef)

Fills the already-cached definition shell; resolve asset references through their conversion caches.

protected override void Populate(ArenaDef def)

Parameters

def ArenaDef

ToArenaDef()

Returns the cached runtime definition for this asset revision; repeated references preserve object identity.

public ArenaDef ToArenaDef()

Returns

ArenaDef

Validate()

Returns authoring problems without repairing or changing serialized fields; an empty list means valid.

public override List<string> Validate()

Returns

List<string>