To create new item use Modification class
Modification Modification = new Modification("Some name", "Brick");
And most important part is to setup some variables
Modification.Data.CategoryName = "Category"; //Set category (Props, Tools, etc.) Modification.Data.Description = "Description"; //Set description Modification.Data.Thumbnail = Modification.LoadSprite("Image.png"); //Set thumbnail Modification.Data.SpawnAction += (Instance) => { //Some actions }
The anwser is very simple. You create new ConnectionPoint variable and assigning Utility.AddConnection()
ConnectionSystem.ConnectionPoint input1 = Utility.AddConnection(Instance,"Input1",Vector3.zero,ConnectionSystem.ConnectionDataType.Float);
Action is variable or function that is a bunch of code. To use Action you need this:
()=>{//Code}
There was an error while loading. Please reload this page.