public override string GetSummary() { if (vec2.vector2Ref == null) { return("Error: vec2 not set"); } return(getOrSet.ToString() + " (" + vec2.vector2Ref.Key + ")"); }
public override string GetSummary() { if (transformData.Value == null) { return("Error: no transform set"); } var iob = inOutVar as BooleanVariable; var ioi = inOutVar as IntegerVariable; var iov = inOutVar as Vector3Variable; var iot = inOutVar as TransformVariable; if (iob == null && ioi == null && iov == null && iot == null) { return("Error: no variable set to push or pull data to or from"); } //We could do further checks here, eg, you have selected childcount but set a vec3variable return(getOrSet.ToString() + " " + property.ToString()); }
public override string GetSummary() { return(base.GetSummary() + " " + getset.ToString()); }