浏览代码

Rename Resources folder as it has special meaning in the context of Unity where it may import resources automatically into users' projects. (#3853) (#3858)

/release_1_branch
GitHub 5 年前
当前提交
69bb70e7
共有 5 个文件被更改,包括 12 次插入12 次删除
  1. 4
      com.unity.ml-agents/Tests/Editor/ModelRunnerTest.cs
  2. 4
      com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs
  3. 8
      com.unity.ml-agents/Tests/Editor/TestModels.meta
  4. 8
      com.unity.ml-agents/Tests/Editor/Resources.meta
  5. 0
      /com.unity.ml-agents/Tests/Editor/TestModels

4
com.unity.ml-agents/Tests/Editor/ModelRunnerTest.cs


[TestFixture]
public class ModelRunnerTest
{
const string k_continuous2vis8vec2actionPath = "Packages/com.unity.ml-agents/Tests/Editor/Resources/continuous2vis8vec2action.nn";
const string k_discrete1vis0vec_2_3action_recurrModelPath = "Packages/com.unity.ml-agents/Tests/Editor/Resources/discrete1vis0vec_2_3action_recurr.nn";
const string k_continuous2vis8vec2actionPath = "Packages/com.unity.ml-agents/Tests/Editor/TestModels/continuous2vis8vec2action.nn";
const string k_discrete1vis0vec_2_3action_recurrModelPath = "Packages/com.unity.ml-agents/Tests/Editor/TestModels/discrete1vis0vec_2_3action_recurr.nn";
NNModel continuous2vis8vec2actionModel;
NNModel discrete1vis0vec_2_3action_recurrModel;
Test3DSensorComponent sensor_21_20_3;

4
com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs


[TestFixture]
public class ParameterLoaderTest
{
const string k_continuous2vis8vec2actionPath = "Packages/com.unity.ml-agents/Tests/Editor/Resources/continuous2vis8vec2action.nn";
const string k_discrete1vis0vec_2_3action_recurrModelPath = "Packages/com.unity.ml-agents/Tests/Editor/Resources/discrete1vis0vec_2_3action_recurr.nn";
const string k_continuous2vis8vec2actionPath = "Packages/com.unity.ml-agents/Tests/Editor/TestModels/continuous2vis8vec2action.nn";
const string k_discrete1vis0vec_2_3action_recurrModelPath = "Packages/com.unity.ml-agents/Tests/Editor/TestModels/discrete1vis0vec_2_3action_recurr.nn";
NNModel continuous2vis8vec2actionModel;
NNModel discrete1vis0vec_2_3action_recurrModel;
Test3DSensorComponent sensor_21_20_3;

8
com.unity.ml-agents/Tests/Editor/TestModels.meta


fileFormatVersion: 2
guid: 95997790219c547e584c3cb50122a95f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
com.unity.ml-agents/Tests/Editor/Resources.meta


fileFormatVersion: 2
guid: 22f1c3c8541da48e480c6b921343c2ee
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

/com.unity.ml-agents/Tests/Editor/Resources → /com.unity.ml-agents/Tests/Editor/TestModels

正在加载...
取消
保存