Interface IFloatValueProvider
Interface for polymorphic float value providers used by ECA actions. Implementations are serialized inline via [SerializeReference] with [SubclassSelector] for Inspector support. Allows actions to derive their float values from constants, random ranges, character stats, or other sources.
public interface IFloatValueProvider
Methods
GetValue(ICharacter, EventData)
Computes and returns the float value for the current execution context.
float GetValue(ICharacter initiator, EventData eventData)
Parameters
initiatorICharacterThe character initiating the action (used for stat lookups, etc.).
eventDataEventDataThe event data for the current execution (used for RNG, target info, etc.).
Returns
- float
The computed float value.