Skip to content

Commit 391df99

Browse files
Feat: dynamic prefabs sample prefabs organizing and renaming (#99)
* edited, renamed, and modified the materials of the project prefabs * renaming and changing the materials of the spawned prefabs. also put them in their own folder * renamed the grey prefab to gray, moved the magenta one into the right folder, and added some scene prefabs to each scene so it looks nicer :)
1 parent 289635b commit 391df99

33 files changed

+970
-1098
lines changed

Basic/DynamicAddressablesNetworkPrefabs/Assets/Materials/Blue.mat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ Material:
99
m_PrefabAsset: {fileID: 0}
1010
m_Name: Blue
1111
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12-
m_ValidKeywords: []
12+
m_ValidKeywords:
13+
- _EMISSION
1314
m_InvalidKeywords: []
14-
m_LightmapFlags: 4
15+
m_LightmapFlags: 2
1516
m_EnableInstancingVariants: 0
1617
m_DoubleSidedGI: 0
1718
m_CustomRenderQueue: -1
@@ -63,7 +64,7 @@ Material:
6364
- _DetailNormalMapScale: 1
6465
- _DstBlend: 0
6566
- _GlossMapScale: 1
66-
- _Glossiness: 0.5
67+
- _Glossiness: 0
6768
- _GlossyReflections: 1
6869
- _Metallic: 0
6970
- _Mode: 0
@@ -75,6 +76,6 @@ Material:
7576
- _UVSec: 0
7677
- _ZWrite: 1
7778
m_Colors:
78-
- _Color: {r: 0, g: 0.0526824, b: 1, a: 1}
79-
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
79+
- _Color: {r: 0.30400002, g: 0.4315999, b: 1, a: 1}
80+
- _EmissionColor: {r: 0.076160006, g: 0.076160006, b: 0.128, a: 1}
8081
m_BuildTextureStacks: []

Basic/DynamicAddressablesNetworkPrefabs/Assets/Materials/Cyan.mat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ Material:
99
m_PrefabAsset: {fileID: 0}
1010
m_Name: Cyan
1111
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12-
m_ValidKeywords: []
12+
m_ValidKeywords:
13+
- _EMISSION
1314
m_InvalidKeywords: []
14-
m_LightmapFlags: 4
15+
m_LightmapFlags: 2
1516
m_EnableInstancingVariants: 0
1617
m_DoubleSidedGI: 0
1718
m_CustomRenderQueue: -1
@@ -63,7 +64,7 @@ Material:
6364
- _DetailNormalMapScale: 1
6465
- _DstBlend: 0
6566
- _GlossMapScale: 1
66-
- _Glossiness: 0.5
67+
- _Glossiness: 0
6768
- _GlossyReflections: 1
6869
- _Metallic: 0
6970
- _Mode: 0
@@ -75,6 +76,6 @@ Material:
7576
- _UVSec: 0
7677
- _ZWrite: 1
7778
m_Colors:
78-
- _Color: {r: 0, g: 0.86225796, b: 1, a: 1}
79-
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
79+
- _Color: {r: 0.31800002, g: 0.906392, b: 1, a: 1}
80+
- _EmissionColor: {r: 0.076160006, g: 0.076160006, b: 0.128, a: 1}
8081
m_BuildTextureStacks: []

Basic/DynamicAddressablesNetworkPrefabs/Assets/Materials/Green.mat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ Material:
99
m_PrefabAsset: {fileID: 0}
1010
m_Name: Green
1111
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12-
m_ValidKeywords: []
12+
m_ValidKeywords:
13+
- _EMISSION
1314
m_InvalidKeywords: []
14-
m_LightmapFlags: 4
15+
m_LightmapFlags: 2
1516
m_EnableInstancingVariants: 0
1617
m_DoubleSidedGI: 0
1718
m_CustomRenderQueue: -1
@@ -63,7 +64,7 @@ Material:
6364
- _DetailNormalMapScale: 1
6465
- _DstBlend: 0
6566
- _GlossMapScale: 1
66-
- _Glossiness: 0.5
67+
- _Glossiness: 0
6768
- _GlossyReflections: 1
6869
- _Metallic: 0
6970
- _Mode: 0
@@ -75,6 +76,6 @@ Material:
7576
- _UVSec: 0
7677
- _ZWrite: 1
7778
m_Colors:
78-
- _Color: {r: 0, g: 1, b: 0.03573966, a: 1}
79-
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
79+
- _Color: {r: 0.31800002, g: 1, b: 0.34207055, a: 1}
80+
- _EmissionColor: {r: 0.076160006, g: 0.076160006, b: 0.128, a: 1}
8081
m_BuildTextureStacks: []

Basic/DynamicAddressablesNetworkPrefabs/Assets/Materials/Black.mat renamed to Basic/DynamicAddressablesNetworkPrefabs/Assets/Materials/Grey.mat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ Material:
77
m_CorrespondingSourceObject: {fileID: 0}
88
m_PrefabInstance: {fileID: 0}
99
m_PrefabAsset: {fileID: 0}
10-
m_Name: Black
10+
m_Name: Grey
1111
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12-
m_ValidKeywords: []
12+
m_ValidKeywords:
13+
- _EMISSION
1314
m_InvalidKeywords: []
14-
m_LightmapFlags: 4
15+
m_LightmapFlags: 2
1516
m_EnableInstancingVariants: 0
1617
m_DoubleSidedGI: 0
1718
m_CustomRenderQueue: -1
@@ -63,7 +64,7 @@ Material:
6364
- _DetailNormalMapScale: 1
6465
- _DstBlend: 0
6566
- _GlossMapScale: 1
66-
- _Glossiness: 0.5
67+
- _Glossiness: 0
6768
- _GlossyReflections: 1
6869
- _Metallic: 0
6970
- _Mode: 0
@@ -76,5 +77,5 @@ Material:
7677
- _ZWrite: 1
7778
m_Colors:
7879
- _Color: {r: 0.18867922, g: 0.18867922, b: 0.18867922, a: 1}
79-
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
80+
- _EmissionColor: {r: 0.076160006, g: 0.076160006, b: 0.128, a: 1}
8081
m_BuildTextureStacks: []
File renamed without changes.

Basic/DynamicAddressablesNetworkPrefabs/Assets/Materials/Magenta.mat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ Material:
99
m_PrefabAsset: {fileID: 0}
1010
m_Name: Magenta
1111
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12-
m_ValidKeywords: []
12+
m_ValidKeywords:
13+
- _EMISSION
1314
m_InvalidKeywords: []
14-
m_LightmapFlags: 4
15+
m_LightmapFlags: 2
1516
m_EnableInstancingVariants: 0
1617
m_DoubleSidedGI: 0
1718
m_CustomRenderQueue: -1
@@ -63,7 +64,7 @@ Material:
6364
- _DetailNormalMapScale: 1
6465
- _DstBlend: 0
6566
- _GlossMapScale: 1
66-
- _Glossiness: 0.5
67+
- _Glossiness: 0
6768
- _GlossyReflections: 1
6869
- _Metallic: 0
6970
- _Mode: 0
@@ -75,6 +76,6 @@ Material:
7576
- _UVSec: 0
7677
- _ZWrite: 1
7778
m_Colors:
78-
- _Color: {r: 1, g: 0, b: 0.9345741, a: 1}
79-
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
79+
- _Color: {r: 1, g: 0.36799997, b: 0.9578667, a: 1}
80+
- _EmissionColor: {r: 0.076160006, g: 0.076160006, b: 0.128, a: 1}
8081
m_BuildTextureStacks: []

Basic/DynamicAddressablesNetworkPrefabs/Assets/Materials/Red.mat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ Material:
99
m_PrefabAsset: {fileID: 0}
1010
m_Name: Red
1111
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12-
m_ValidKeywords: []
12+
m_ValidKeywords:
13+
- _EMISSION
1314
m_InvalidKeywords: []
14-
m_LightmapFlags: 4
15+
m_LightmapFlags: 2
1516
m_EnableInstancingVariants: 0
1617
m_DoubleSidedGI: 0
1718
m_CustomRenderQueue: -1
@@ -63,7 +64,7 @@ Material:
6364
- _DetailNormalMapScale: 1
6465
- _DstBlend: 0
6566
- _GlossMapScale: 1
66-
- _Glossiness: 0.5
67+
- _Glossiness: 0
6768
- _GlossyReflections: 1
6869
- _Metallic: 0
6970
- _Mode: 0
@@ -75,6 +76,6 @@ Material:
7576
- _UVSec: 0
7677
- _ZWrite: 1
7778
m_Colors:
78-
- _Color: {r: 1, g: 0, b: 0.018271446, a: 1}
79-
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
79+
- _Color: {r: 1, g: 0.148, b: 0.16470604, a: 1}
80+
- _EmissionColor: {r: 0.076160006, g: 0.076160006, b: 0.128, a: 1}
8081
m_BuildTextureStacks: []

Basic/DynamicAddressablesNetworkPrefabs/Assets/Materials/Yellow.mat

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ Material:
99
m_PrefabAsset: {fileID: 0}
1010
m_Name: Yellow
1111
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12-
m_ValidKeywords: []
12+
m_ValidKeywords:
13+
- _EMISSION
1314
m_InvalidKeywords: []
14-
m_LightmapFlags: 4
15+
m_LightmapFlags: 2
1516
m_EnableInstancingVariants: 0
1617
m_DoubleSidedGI: 0
1718
m_CustomRenderQueue: -1
@@ -63,7 +64,7 @@ Material:
6364
- _DetailNormalMapScale: 1
6465
- _DstBlend: 0
6566
- _GlossMapScale: 1
66-
- _Glossiness: 0.5
67+
- _Glossiness: 0
6768
- _GlossyReflections: 1
6869
- _Metallic: 0
6970
- _Mode: 0
@@ -75,6 +76,6 @@ Material:
7576
- _UVSec: 0
7677
- _ZWrite: 1
7778
m_Colors:
78-
- _Color: {r: 1, g: 0.8950032, b: 0, a: 1}
79-
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
79+
- _Color: {r: 1, g: 0.91423535, b: 0.19, a: 1}
80+
- _EmissionColor: {r: 0.076160006, g: 0.076160006, b: 0.128, a: 1}
8081
m_BuildTextureStacks: []
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!1 &4320737046193768508
4+
GameObject:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
serializedVersion: 6
10+
m_Component:
11+
- component: {fileID: 4320737046193768510}
12+
- component: {fileID: 4320737046193768511}
13+
m_Layer: 0
14+
m_Name: Directional Light
15+
m_TagString: Untagged
16+
m_Icon: {fileID: 0}
17+
m_NavMeshLayer: 0
18+
m_StaticEditorFlags: 0
19+
m_IsActive: 1
20+
--- !u!4 &4320737046193768510
21+
Transform:
22+
m_ObjectHideFlags: 0
23+
m_CorrespondingSourceObject: {fileID: 0}
24+
m_PrefabInstance: {fileID: 0}
25+
m_PrefabAsset: {fileID: 0}
26+
m_GameObject: {fileID: 4320737046193768508}
27+
m_LocalRotation: {x: 0.4214967, y: -0.06598225, z: 0.030768152, w: 0.9039028}
28+
m_LocalPosition: {x: 0, y: 3, z: 0}
29+
m_LocalScale: {x: 1, y: 1, z: 1}
30+
m_ConstrainProportionsScale: 0
31+
m_Children: []
32+
m_Father: {fileID: 0}
33+
m_RootOrder: 0
34+
m_LocalEulerAnglesHint: {x: 50, y: -8.35, z: 0}
35+
--- !u!108 &4320737046193768511
36+
Light:
37+
m_ObjectHideFlags: 0
38+
m_CorrespondingSourceObject: {fileID: 0}
39+
m_PrefabInstance: {fileID: 0}
40+
m_PrefabAsset: {fileID: 0}
41+
m_GameObject: {fileID: 4320737046193768508}
42+
m_Enabled: 1
43+
serializedVersion: 10
44+
m_Type: 1
45+
m_Shape: 0
46+
m_Color: {r: 1, g: 1, b: 1, a: 1}
47+
m_Intensity: 1
48+
m_Range: 10
49+
m_SpotAngle: 30
50+
m_InnerSpotAngle: 21.802082
51+
m_CookieSize: 10
52+
m_Shadows:
53+
m_Type: 0
54+
m_Resolution: -1
55+
m_CustomResolution: -1
56+
m_Strength: 1
57+
m_Bias: 0.05
58+
m_NormalBias: 0.4
59+
m_NearPlane: 0.2
60+
m_CullingMatrixOverride:
61+
e00: 1
62+
e01: 0
63+
e02: 0
64+
e03: 0
65+
e10: 0
66+
e11: 1
67+
e12: 0
68+
e13: 0
69+
e20: 0
70+
e21: 0
71+
e22: 1
72+
e23: 0
73+
e30: 0
74+
e31: 0
75+
e32: 0
76+
e33: 1
77+
m_UseCullingMatrixOverride: 0
78+
m_Cookie: {fileID: 0}
79+
m_DrawHalo: 0
80+
m_Flare: {fileID: 0}
81+
m_RenderMode: 0
82+
m_CullingMask:
83+
serializedVersion: 2
84+
m_Bits: 4294967295
85+
m_RenderingLayerMask: 1
86+
m_Lightmapping: 4
87+
m_LightShadowCasterMode: 0
88+
m_AreaSize: {x: 1, y: 1}
89+
m_BounceIntensity: 1
90+
m_ColorTemperature: 6570
91+
m_UseColorTemperature: 0
92+
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
93+
m_UseBoundingSphereOverride: 0
94+
m_UseViewFrustumForShadowCasterCull: 1
95+
m_ShadowRadius: 0
96+
m_ShadowAngle: 0

Basic/DynamicAddressablesNetworkPrefabs/Assets/Prefabs/Directional Light.prefab.meta

Lines changed: 7 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)