Class ScalingComponentSO
- Namespace
- ElectricDrill.AstraRpgFramework.Scaling
- Assembly
- com.electricdrill.astra-rpg-framework.Runtime.dll
Abstract base class for all scaling components. A scaling component calculates a value based on an entity's properties.
[MovedFrom(true, "ElectricDrill.AstraRpgFramework.Scaling", "com.electricdrill.astra-rpg-framework.Runtime", "ScalingComponent")]
public abstract class ScalingComponentSO : ScriptableObject, ITaggable
- Inheritance
-
objectScalingComponentSO
- Implements
- Derived
Properties
Tags
The tags associated with this object.
public GameTagSet Tags { get; }
Property Value
Methods
CalculateValue(EntityCore)
Calculates the value of this component based on the provided entity.
public abstract long CalculateValue(EntityCore entity)
Parameters
entityEntityCoreThe entity whose properties are used for calculation.
Returns
- long
The calculated value from this component.