Skip to main content

GDTKItem.PerformAction

Declaration#

public void PerformAction(string actionKey)

Parameters#

NameDescription
actionKeyKey of the action to perform

Description#

Perform a plugin action

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
    public void ExampleMethod(GDTKItem target, string actionKey)    {        target.PerformAction(actionKey);    }

}