Struct SpawnOptions
Options for spawning an NPC, including blood type, quality, and stats.
public struct SpawnOptions
- Inherited Members
- Extension Methods
Constructors
SpawnOptions(bool, PrefabGUID, float, bool, bool, UnitStats, bool)
Options for spawning an NPC, including blood type, quality, and stats.
public SpawnOptions(bool modifyBlood = false, PrefabGUID bloodType = default, float bloodQuality = 0, bool bloodConsumable = true, bool modifyStats = false, UnitStats unitStats = default, bool process = false)
Parameters
modifyBlood
boolbloodType
PrefabGUIDbloodQuality
floatbloodConsumable
boolmodifyStats
boolunitStats
UnitStatsprocess
bool
Properties
BloodConsumable
public bool BloodConsumable { readonly get; set; }
Property Value
BloodQuality
public float BloodQuality { readonly get; set; }
Property Value
BloodType
public PrefabGUID BloodType { readonly get; set; }
Property Value
- PrefabGUID
ModifyBlood
public bool ModifyBlood { readonly get; set; }
Property Value
ModifyStats
public bool ModifyStats { readonly get; set; }
Property Value
Process
public bool Process { readonly get; set; }
Property Value
UnitStats
public UnitStats UnitStats { readonly get; set; }
Property Value
- UnitStats