浏览代码

added conditional hash serialization

/addressables-test
sleal-unity 4 年前
当前提交
e620ab8e
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
      com.unity.perception/Runtime/Randomization/Scenarios/Serialization/ScenarioSerializer.cs

3
com.unity.perception/Runtime/Randomization/Scenarios/Serialization/ScenarioSerializer.cs


var bundle = (JObject) bundleToken;
scenario.AddBundleUrl(bundle["name"].Value<string>(), bundle["url"].Value<string>());
}
if (catalog.ContainsKey("hashUrl"))
scenario.AddBundleUrl(catalog["hashName"].Value<string>(), catalog["hashUrl"].Value<string>());
}
}

正在加载...
取消
保存