Skip to main content

StatEventTrigger.RaiseEvent

Declaration#

public void RaiseEvent(string id)

Parameters#

NameDescription
idId 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");    }
}