Reply To: Easy Save Usage

Forums 💬 FlowCanvas ⚙️ Support Easy Save Usage Reply To: Easy Save Usage

#12274
asdfasdf
Participant

    Just to wrap this up here is the full node. (If you tack on <T> as I did, but apparently didn’t copy up above, it makes every type in the search). There is only one generic node in the search, and both strings are provided. I ran this through a tool to make it paste better, indent as needed in editor.

    [Name(“Get Name&Id Of”)]
    [Category(“Test/Variable”)]
    [Description(“Returns the info of the selected blackboard variable.”)]
    public class VariableInfo : FlowControlNode
    {

    [BlackboardOnly]
    public BBParameter value;

    public override string name
    {
    get { return string.Format(“{0} [{1}]”, base.name, value.ToString()); }
    }

    protected override void RegisterPorts()
    {
    AddValueOutput(“Name”, () => { return value.name; });

    AddValueOutput(“Id”, () => { return value.targetVariableID; });
    }
    }