Table of Contents

Class ToggleHarvestedExpSourceComponentGameAction

Namespace
ElectricDrill.AstraRpgFramework.GameActions.Actions.Component
Assembly
com.electricdrill.astra-rpg-framework.Runtime.dll

A game action used to toggle the harvested state of an ExpSource component. Sets the Harvested flag based on the enable setting, controlling whether the experience can be collected. Provided as a ScriptableObject for easy assignment in the editor. Create instances via Assets -> Create -> Astra RPG Framework / Game Actions / Context: Component / Toggle Harvest Exp Source.

[CreateAssetMenu(fileName = "Toggle Harvested Exp Source Game Action", menuName = "Astra RPG Framework/Game Actions/Context: Component/Toggle Harvested Exp Source")]
public class ToggleHarvestedExpSourceComponentGameAction : ToggleHarvestedExpSourceGameAction<Component>, IExecutable<Component>
Inheritance
object
ToggleHarvestedExpSourceComponentGameAction
Implements
Inherited Members