public override void FromJson(string data) { VarData d = JsonConvert.DeserializeObject <VarData>(data); SetBaseNodeDate(d); varName = d.varName; }
public override string GetJson() { VarData d = new VarData(); FillBaseNodeData(d); d.varName = varName; return(JsonConvert.SerializeObject(d)); }
public override void FromJson(Dictionary <string, Node> nodes, string data) { VarData d = JsonConvert.DeserializeObject <VarData>(data); SetBaseNodeDate(d); varName = d.varName; SetConnections(nodes, d.outputs); TryAndProcess(); }