ItemActionTrigger.TriggerAction
Declaration#
public void TriggerAction()Description#
Trigger the default action
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(ItemActionTrigger target) { target.TriggerAction(); }
}Declaration#
public void TriggerAction(string actionKey)Parameters#
| Name | Description |
|---|---|
| actionKey | Key of action to trigger |
Description#
Trigger an action by key
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(ItemActionTrigger target, string actionKey) { target.TriggerAction(actionKey); }
}