浏览代码

Rename monster cube and change fire to red (#3718)

/asymm-envs
GitHub 5 年前
当前提交
884e1455
共有 10 个文件被更改,包括 32 次插入2 次删除
  1. 32
      Project/Assets/ML-Agents/Examples/CubeWars/Prefabs/CubeWarArea.prefab
  2. 2
      Project/Assets/ML-Agents/Examples/CubeWars/Scripts/Laser.cs
  3. 0
      /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonskin.mat
  4. 0
      /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonskin.mat.meta
  5. 0
      /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonscales.mat
  6. 0
      /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonscales.mat.meta
  7. 0
      /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonfire.mat
  8. 0
      /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonfire.mat.meta
  9. 0
      /Project/Assets/ML-Agents/Examples/CubeWars/Prefabs/DragonCube.prefab
  10. 0
      /Project/Assets/ML-Agents/Examples/CubeWars/Prefabs/DragonCube.prefab.meta

32
Project/Assets/ML-Agents/Examples/CubeWars/Prefabs/CubeWarArea.prefab


propertyPath: m_Materials.Array.data[4]
value:
objectReference: {fileID: 2100000, guid: b0ec2cb58d3f946419d6d96c502b2b1e, type: 2}
- target: {fileID: 9221550522079577563, guid: d40a32b30361e40b49d59bdfbbdb2e8c,
type: 3}
propertyPath: m_Parameters.colorGradient.key0.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9221550522079577563, guid: d40a32b30361e40b49d59bdfbbdb2e8c,
type: 3}
propertyPath: m_Parameters.colorGradient.key0.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9221550522079577563, guid: d40a32b30361e40b49d59bdfbbdb2e8c,
type: 3}
propertyPath: m_Parameters.colorGradient.key0.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9221550522079577563, guid: d40a32b30361e40b49d59bdfbbdb2e8c,
type: 3}
propertyPath: m_Parameters.colorGradient.key1.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9221550522079577563, guid: d40a32b30361e40b49d59bdfbbdb2e8c,
type: 3}
propertyPath: m_Parameters.colorGradient.key1.g
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9221550522079577563, guid: d40a32b30361e40b49d59bdfbbdb2e8c,
type: 3}
propertyPath: m_Parameters.colorGradient.key1.b
value: 0.9575949
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d40a32b30361e40b49d59bdfbbdb2e8c, type: 3}
--- !u!4 &3331463254605917318 stripped

- target: {fileID: 547513711375494624, guid: 3c19832ce9ed2473daa69598255a556f,
type: 3}
propertyPath: m_Name
value: CubeZilla
value: DragonCube
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3c19832ce9ed2473daa69598255a556f, type: 3}

2
Project/Assets/ML-Agents/Examples/CubeWars/Scripts/Laser.cs


{
laserRenderer = GetComponentInChildren<LineRenderer>();
laserRenderer.SetWidth(width, width);
laserRenderer.material.SetTextureScale("_MainTex", new Vector2(0.05f, 1.0f));
laserRenderer.material.SetTextureScale("_MainTex", new Vector2(0.07f, 1.0f));
}
// Update is called once per frame

/Project/Assets/ML-Agents/Examples/CubeWars/Materials/Godzilla.mat → /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonskin.mat

/Project/Assets/ML-Agents/Examples/CubeWars/Materials/Godzilla.mat.meta → /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonskin.mat.meta

/Project/Assets/ML-Agents/Examples/CubeWars/Materials/GodzillaScales.mat → /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonscales.mat

/Project/Assets/ML-Agents/Examples/CubeWars/Materials/GodzillaScales.mat.meta → /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonscales.mat.meta

/Project/Assets/ML-Agents/Examples/CubeWars/Materials/godzillafire.mat → /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonfire.mat

/Project/Assets/ML-Agents/Examples/CubeWars/Materials/godzillafire.mat.meta → /Project/Assets/ML-Agents/Examples/CubeWars/Materials/dragonfire.mat.meta

/Project/Assets/ML-Agents/Examples/CubeWars/Prefabs/CubeZilla.prefab → /Project/Assets/ML-Agents/Examples/CubeWars/Prefabs/DragonCube.prefab

/Project/Assets/ML-Agents/Examples/CubeWars/Prefabs/CubeZilla.prefab.meta → /Project/Assets/ML-Agents/Examples/CubeWars/Prefabs/DragonCube.prefab.meta

正在加载...
取消
保存