public override string GetJson() { InputNodeData d = new InputNodeData(); FillBaseNodeData(d); return(JsonConvert.SerializeObject(d)); }
public override void FromJson(Dictionary <string, Node> nodes, string data) { InputNodeData d = JsonConvert.DeserializeObject <InputNodeData>(data); SetBaseNodeDate(d); Output = new NodeOutput(NodeType.Color | NodeType.Gray, this); Outputs.Clear(); Outputs.Add(Output); }