private string GetValueString() { if (this.type == typeof(string)) { return "\"" + this.value + "\""; } if (this.type == typeof(Vector2) || this.type == typeof(Vector3) || this.type == typeof(Color)) { return "(" + this.GetValueDataString() + ")"; } return string.Format("{0}({1})", DataNode.TypeToName(this.type), this.GetValueDataString()); }