public static void AddExtensionRequired(this Gltf gltf, string name) { if (gltf.ExtensionsRequired == null) { gltf.ExtensionsRequired = new List <string>(); } if (gltf.ContainsExtensionRequired(name)) { return; } gltf.ExtensionsRequired.Add(name); }
public static void AddExtensionRequired(this Gltf gltf, string name) { if (gltf.ExtensionsRequired == null) { gltf.ExtensionsRequired = new List <string>(); } if (gltf.ContainsExtensionRequired(name)) { return; } gltf.ExtensionsRequired.Add(name); }