RollModifierPlugin.Apply
Declaration#
public virtual void Apply(PlayerCharacterStats target, GlobalStats global)Parameters#
| Name | Description |
|---|---|
| target | Source initializing the plugin |
| global | GlobalStats source |
Description#
Apply the selected options
Usage#
Example
using NullSave.GDTK;using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(RollModifierPlugin plugin, PlayerCharacterStats statSource) { plugin.Apply(statSource, ToolRegistry.GetComponent<GlobalStats>()); }
}