StatEventTrigger.RaiseEvent
Declaration#
public void RaiseEvent(string id)Parameters#
| Name | Description |
|---|---|
| id | Id of the Stat Event to raise |
Description#
Cause the associated Stat Source to raise a specific Stat Event.
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(StatEventTrigger target) { target.RaiseEvent("MyEvent"); }
}