StatModifierPlugin.PerformAction
Declaration#
public virtual void PerformAction()Description#
Perform the default action
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(StatModifierPlugin target) { target.PerformAction(); }
}Declaration#
public virtual void PerformAction(string actionKey, Object[] args)Parameters#
| Name | Description |
|---|---|
| actionKey | Key of the action |
| args | Parameters |
Description#
Perform a specific action
Usage#
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(StatModifierPlugin target, string actionName) { target.PerformAction(actionName, new object[] { true, this }); }
}