InWorldContainer.RunPluginCommand
Declaration#
public virtual void RunPluginCommand(GDTKItem item, string command, Object[] args, Action onCompleteCallback)Parameters#
| Name | Description |
|---|---|
| item | Item containing plugin |
| command | Command to run |
| args | Parameters to send to commmand |
| onCompleteCallback | Action to invoke upon completion |
Description#
Run a plugin on an item
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(InWorldContainer target, GDTKItem other) { target.RunPluginCommand(other, "CommandName", new object[] { "Paremeter1", false }, null); }
}