GeneralValue
An abstract class in Alta.Values, Alta.
Base for many of the game's ScriptableObject assets: just a description field and a type slot.
- Listed in Other Alta assemblies
- Inherits or implements
ScriptableObject - Derived types
CaveSettings<T>,Element,Plugin,MapGeneratorPart,Section,JointPointType,CosmeticPalette,HashedGeneralValue,Sense,Category,LootTable,Origin,Rarity,OptionSet,Part,RuleBase,RuleOptionSet,Test,SpawnRate,BiomeAttribute - Documented in Alta assemblies
Constructors
| Member | What it is |
|---|---|
protected GeneralValue() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
Properties
| Member | What it is |
|---|---|
string Description { get; } | Free text description of the asset. "No description" by default. |
virtual Type Type { get; set; } | A System.Type that subclasses can use. Null by default. |
Used in
Members of other types that take, return or hold a GeneralValue: