Skip to content

Commit 13d733a

Browse files
committed
1 parent a988c13 commit 13d733a

File tree

12 files changed

+270
-23
lines changed

12 files changed

+270
-23
lines changed

Assets/ECS_MLAgents_v0/Example/SpaceWars/Materials/Red.mat renamed to Assets/ECS_MLAgents_v0/Example/SpaceWars/Materials/Blue.mat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Material:
77
m_CorrespondingSourceObject: {fileID: 0}
88
m_PrefabInstance: {fileID: 0}
99
m_PrefabAsset: {fileID: 0}
10-
m_Name: Red
11-
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
10+
m_Name: Blue
11+
m_Shader: {fileID: 10755, guid: 0000000000000000f000000000000000, type: 0}
1212
m_ShaderKeywords:
1313
m_LightmapFlags: 4
1414
m_EnableInstancingVariants: 0
@@ -73,5 +73,5 @@ Material:
7373
- _UVSec: 0
7474
- _ZWrite: 1
7575
m_Colors:
76-
- _Color: {r: 0.8773585, g: 0.42936552, b: 0.4014329, a: 1}
76+
- _Color: {r: 0.4, g: 0.5078959, b: 0.8784314, a: 1}
7777
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!21 &2100000
4+
Material:
5+
serializedVersion: 6
6+
m_ObjectHideFlags: 0
7+
m_CorrespondingSourceObject: {fileID: 0}
8+
m_PrefabInstance: {fileID: 0}
9+
m_PrefabAsset: {fileID: 0}
10+
m_Name: Gray
11+
m_Shader: {fileID: 10755, guid: 0000000000000000f000000000000000, type: 0}
12+
m_ShaderKeywords:
13+
m_LightmapFlags: 4
14+
m_EnableInstancingVariants: 0
15+
m_DoubleSidedGI: 0
16+
m_CustomRenderQueue: -1
17+
stringTagMap: {}
18+
disabledShaderPasses: []
19+
m_SavedProperties:
20+
serializedVersion: 3
21+
m_TexEnvs:
22+
- _BumpMap:
23+
m_Texture: {fileID: 0}
24+
m_Scale: {x: 1, y: 1}
25+
m_Offset: {x: 0, y: 0}
26+
- _DetailAlbedoMap:
27+
m_Texture: {fileID: 0}
28+
m_Scale: {x: 1, y: 1}
29+
m_Offset: {x: 0, y: 0}
30+
- _DetailMask:
31+
m_Texture: {fileID: 0}
32+
m_Scale: {x: 1, y: 1}
33+
m_Offset: {x: 0, y: 0}
34+
- _DetailNormalMap:
35+
m_Texture: {fileID: 0}
36+
m_Scale: {x: 1, y: 1}
37+
m_Offset: {x: 0, y: 0}
38+
- _EmissionMap:
39+
m_Texture: {fileID: 0}
40+
m_Scale: {x: 1, y: 1}
41+
m_Offset: {x: 0, y: 0}
42+
- _MainTex:
43+
m_Texture: {fileID: 0}
44+
m_Scale: {x: 1, y: 1}
45+
m_Offset: {x: 0, y: 0}
46+
- _MetallicGlossMap:
47+
m_Texture: {fileID: 0}
48+
m_Scale: {x: 1, y: 1}
49+
m_Offset: {x: 0, y: 0}
50+
- _OcclusionMap:
51+
m_Texture: {fileID: 0}
52+
m_Scale: {x: 1, y: 1}
53+
m_Offset: {x: 0, y: 0}
54+
- _ParallaxMap:
55+
m_Texture: {fileID: 0}
56+
m_Scale: {x: 1, y: 1}
57+
m_Offset: {x: 0, y: 0}
58+
m_Floats:
59+
- _BumpScale: 1
60+
- _Cutoff: 0.5
61+
- _DetailNormalMapScale: 1
62+
- _DstBlend: 0
63+
- _GlossMapScale: 1
64+
- _Glossiness: 0.5
65+
- _GlossyReflections: 1
66+
- _Metallic: 0
67+
- _Mode: 0
68+
- _OcclusionStrength: 1
69+
- _Parallax: 0.02
70+
- _SmoothnessTextureChannel: 0
71+
- _SpecularHighlights: 1
72+
- _SrcBlend: 1
73+
- _UVSec: 0
74+
- _ZWrite: 1
75+
m_Colors:
76+
- _Color: {r: 0.509434, g: 0.509434, b: 0.509434, a: 1}
77+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

Assets/ECS_MLAgents_v0/Example/SpaceWars/Materials/Gray.mat.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!21 &2100000
4+
Material:
5+
serializedVersion: 6
6+
m_ObjectHideFlags: 0
7+
m_CorrespondingSourceObject: {fileID: 0}
8+
m_PrefabInstance: {fileID: 0}
9+
m_PrefabAsset: {fileID: 0}
10+
m_Name: White
11+
m_Shader: {fileID: 10755, guid: 0000000000000000f000000000000000, type: 0}
12+
m_ShaderKeywords:
13+
m_LightmapFlags: 4
14+
m_EnableInstancingVariants: 0
15+
m_DoubleSidedGI: 0
16+
m_CustomRenderQueue: -1
17+
stringTagMap: {}
18+
disabledShaderPasses: []
19+
m_SavedProperties:
20+
serializedVersion: 3
21+
m_TexEnvs:
22+
- _BumpMap:
23+
m_Texture: {fileID: 0}
24+
m_Scale: {x: 1, y: 1}
25+
m_Offset: {x: 0, y: 0}
26+
- _DetailAlbedoMap:
27+
m_Texture: {fileID: 0}
28+
m_Scale: {x: 1, y: 1}
29+
m_Offset: {x: 0, y: 0}
30+
- _DetailMask:
31+
m_Texture: {fileID: 0}
32+
m_Scale: {x: 1, y: 1}
33+
m_Offset: {x: 0, y: 0}
34+
- _DetailNormalMap:
35+
m_Texture: {fileID: 0}
36+
m_Scale: {x: 1, y: 1}
37+
m_Offset: {x: 0, y: 0}
38+
- _EmissionMap:
39+
m_Texture: {fileID: 0}
40+
m_Scale: {x: 1, y: 1}
41+
m_Offset: {x: 0, y: 0}
42+
- _MainTex:
43+
m_Texture: {fileID: 0}
44+
m_Scale: {x: 1, y: 1}
45+
m_Offset: {x: 0, y: 0}
46+
- _MetallicGlossMap:
47+
m_Texture: {fileID: 0}
48+
m_Scale: {x: 1, y: 1}
49+
m_Offset: {x: 0, y: 0}
50+
- _OcclusionMap:
51+
m_Texture: {fileID: 0}
52+
m_Scale: {x: 1, y: 1}
53+
m_Offset: {x: 0, y: 0}
54+
- _ParallaxMap:
55+
m_Texture: {fileID: 0}
56+
m_Scale: {x: 1, y: 1}
57+
m_Offset: {x: 0, y: 0}
58+
m_Floats:
59+
- _BumpScale: 1
60+
- _Cutoff: 0.5
61+
- _DetailNormalMapScale: 1
62+
- _DstBlend: 0
63+
- _GlossMapScale: 1
64+
- _Glossiness: 0.5
65+
- _GlossyReflections: 1
66+
- _Metallic: 0
67+
- _Mode: 0
68+
- _OcclusionStrength: 1
69+
- _Parallax: 0.02
70+
- _SmoothnessTextureChannel: 0
71+
- _SpecularHighlights: 1
72+
- _SrcBlend: 1
73+
- _UVSec: 0
74+
- _ZWrite: 1
75+
m_Colors:
76+
- _Color: {r: 0.9024564, g: 0.92051315, b: 0.9811321, a: 1}
77+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

Assets/ECS_MLAgents_v0/Example/SpaceWars/Materials/White.mat.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/ECS_MLAgents_v0/Example/SpaceWars/Prefabs/ShipAgent.prefab

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ MonoBehaviour:
100100
m_Name:
101101
m_EditorClassIdentifier:
102102
m_SerializedData:
103-
mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
104-
material: {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
103+
mesh: {fileID: 4300002, guid: 7fea2db65062cc645a42de560c2e6d8c, type: 3}
104+
material: {fileID: 2100000, guid: cd91a3587814b4dbfa106cdbbf44cd0c, type: 2}
105105
subMesh: 0
106106
castShadows: 0
107107
receiveShadows: 0
@@ -136,7 +136,7 @@ MonoBehaviour:
136136
m_EditorClassIdentifier:
137137
m_SerializedData:
138138
YAxis: 0
139-
ZAxis: 0
139+
XAxis: 0
140140
Shoot: 0
141141
--- !u!114 &8807437141133750185
142142
MonoBehaviour:
@@ -170,6 +170,11 @@ MonoBehaviour:
170170
m_SerializedData:
171171
ReloadTime: 0
172172
Fire: 0
173+
TargetOffset:
174+
x: 0
175+
y: 0
176+
z: 0
177+
MaxReloadTime: 0
173178
--- !u!114 &2450615790375797412
174179
MonoBehaviour:
175180
m_ObjectHideFlags: 0

Assets/ECS_MLAgents_v0/Example/SpaceWars/Scenes/SpaceWars.unity

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RenderSettings:
3838
m_ReflectionIntensity: 1
3939
m_CustomReflection: {fileID: 0}
4040
m_Sun: {fileID: 0}
41-
m_IndirectSpecularColor: {r: 0.44657838, g: 0.49641234, b: 0.57481676, a: 1}
41+
m_IndirectSpecularColor: {r: 0.37311918, g: 0.38073993, b: 0.35872698, a: 1}
4242
m_UseRadianceAmbientProbe: 0
4343
--- !u!157 &3
4444
LightmapSettings:
@@ -161,7 +161,7 @@ MonoBehaviour:
161161
target: {fileID: 1467329703}
162162
camera: {fileID: 2051651924}
163163
prefab: {fileID: 801768939125754296, guid: 8148120c9f3864369b2ed2b21f9a01aa, type: 3}
164-
model: {fileID: 11400002, guid: 5bfd22ab3fbf74284acbd4ec6f22b27a, type: 3}
164+
model: {fileID: 11400000, guid: 5bfd22ab3fbf74284acbd4ec6f22b27a, type: 3}
165165
--- !u!114 &260019832
166166
MonoBehaviour:
167167
m_ObjectHideFlags: 0
@@ -222,7 +222,7 @@ Light:
222222
m_PrefabInstance: {fileID: 0}
223223
m_PrefabAsset: {fileID: 0}
224224
m_GameObject: {fileID: 969391138}
225-
m_Enabled: 1
225+
m_Enabled: 0
226226
serializedVersion: 8
227227
m_Type: 1
228228
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
@@ -302,7 +302,7 @@ MeshRenderer:
302302
m_RenderingLayerMask: 1
303303
m_RendererPriority: 0
304304
m_Materials:
305-
- {fileID: 10302, guid: 0000000000000000f000000000000000, type: 0}
305+
- {fileID: 2100000, guid: d6eaea581dd90489bb9090c0c83057d7, type: 2}
306306
m_StaticBatchInfo:
307307
firstSubMesh: 0
308308
subMeshCount: 0
@@ -354,22 +354,13 @@ GameObject:
354354
m_Component:
355355
- component: {fileID: 2051651927}
356356
- component: {fileID: 2051651926}
357-
- component: {fileID: 2051651925}
358357
m_Layer: 0
359358
m_Name: Main Camera
360359
m_TagString: MainCamera
361360
m_Icon: {fileID: 0}
362361
m_NavMeshLayer: 0
363362
m_StaticEditorFlags: 0
364363
m_IsActive: 1
365-
--- !u!81 &2051651925
366-
AudioListener:
367-
m_ObjectHideFlags: 0
368-
m_CorrespondingSourceObject: {fileID: 0}
369-
m_PrefabInstance: {fileID: 0}
370-
m_PrefabAsset: {fileID: 0}
371-
m_GameObject: {fileID: 2051651924}
372-
m_Enabled: 0
373364
--- !u!20 &2051651926
374365
Camera:
375366
m_ObjectHideFlags: 0
Binary file not shown.

Assets/ECS_MLAgents_v0/Example/SpaceWars/Scripts/CruiseFighter.fbx.meta

Lines changed: 81 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)