/// <summary> /// Returns true if the ConfigNode has the given value, and stores it in the ref value /// </summary> /// <param name="name">Name of the value to find</param> /// <param name="value">Value to store the result in</param> public static bool TryGetValue(this ConfigNode node, string name, ref Vector3 value) { return(node.HasValue(name) && RCUtils.TryParseVector3(node.GetValue(name), ref value)); }