public static Utility_ManifestJson CreateFromJson(string json) { Utility_ManifestJson man = new Utility_ManifestJson(); try { man.dependencies = DependencyJson.GetDependeciesFromText(json); } catch (Exception e) { UnityEngine.Debug.LogWarning(e); } return(man); }
public static Utility_PackageJson CreateFromJson(string json) { Utility_PackageJson value = null; try { value = JsonUtility.FromJson <Utility_PackageJson>(json); } catch (Exception) { // UnityEngine.Debug.LogWarning(e); } value.dependencies = DependencyJson.GetDependeciesFromText(json); return(value); }
private void Remove(DependencyJson dependencies) { RemoveFromName(dependencies.nameId); RemoveFromUrl(dependencies.value); }
private void Add(DependencyJson dependencies) { Add(dependencies.nameId, dependencies.value); }