Skip to content

Commit f3bf432

Browse files
authored
Town Whiteboxing (#384)
Created a Town Folder inside the Whiteboxing Folder, with the scene/materials/script and lightmap data inside. Also added a SceneDataSO named Town in the SceneData>Locations folder.
1 parent 2b047f0 commit f3bf432

File tree

107 files changed

+102326
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+102326
-1
lines changed

UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ MonoBehaviour:
1616
m_Data:
1717
m_SerializedData: []
1818
m_GUID: a7bae5f88e2e24365bdf768f42df85c5
19-
m_SerializeEntries: []
19+
m_SerializeEntries:
20+
- m_GUID: 73e3083b358dd5945bcf11ac105daebc
21+
m_Address: Assets/Scenes/Whiteboxing/3. Town/Town_Proposal_3.unity
22+
m_ReadOnly: 0
23+
m_SerializedLabels: []
24+
m_MainAsset: {fileID: 0}
25+
m_TargetAsset: {fileID: 0}
2026
m_ReadOnly: 0
2127
m_Settings: {fileID: 11400000, guid: bffab80dc16c4464b92b2e97b6a1964c, type: 2}
2228
m_SchemaSet:

UOP1_Project/Assets/Scenes/Whiteboxing/3. Town.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.

UOP1_Project/Assets/Scenes/Whiteboxing/3. Town/Proposal_3.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: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
using System.Collections;
2+
using System.Collections.Generic;
3+
using UnityEngine;
4+
5+
public class AreaLoad : MonoBehaviour
6+
{
7+
public GameObject[] areaToHide;
8+
public GameObject[] areaToShow;
9+
public bool area1Hidden = false;
10+
public bool area2Shown = false;
11+
12+
private void Awake()
13+
{
14+
for (int i = 0; i < areaToShow.Length; i++)
15+
{
16+
areaToShow[i].SetActive(false);
17+
}
18+
}
19+
20+
private void OnTriggerEnter(Collider other)
21+
{
22+
for (int i = 0; i < areaToHide.Length; i++)
23+
{
24+
areaToHide[i].SetActive(false);
25+
}
26+
for (int i = 0; i < areaToShow.Length; i++)
27+
{
28+
areaToShow[i].SetActive(true);
29+
}
30+
area1Hidden = true;
31+
area2Shown = true;
32+
}
33+
private void OnTriggerExit(Collider other)
34+
{
35+
for (int i = 0; i < areaToHide.Length; i++)
36+
{
37+
areaToHide[i].SetActive(true);
38+
}
39+
for (int i = 0; i < areaToShow.Length; i++)
40+
{
41+
areaToShow[i].SetActive(false);
42+
}
43+
area1Hidden = false;
44+
area2Shown = false;
45+
}
46+
47+
}

UOP1_Project/Assets/Scenes/Whiteboxing/3. Town/Proposal_3/AreaLoad.cs.meta

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

UOP1_Project/Assets/Scenes/Whiteboxing/3. Town/Proposal_3/Town_Materials.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: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &-8875083263530013422
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 11
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
13+
m_Name:
14+
m_EditorClassIdentifier:
15+
version: 2
16+
--- !u!21 &2100000
17+
Material:
18+
serializedVersion: 6
19+
m_ObjectHideFlags: 0
20+
m_CorrespondingSourceObject: {fileID: 0}
21+
m_PrefabInstance: {fileID: 0}
22+
m_PrefabAsset: {fileID: 0}
23+
m_Name: Mtl_Lake
24+
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
25+
m_ShaderKeywords:
26+
m_LightmapFlags: 4
27+
m_EnableInstancingVariants: 0
28+
m_DoubleSidedGI: 0
29+
m_CustomRenderQueue: 2000
30+
stringTagMap:
31+
RenderType: Opaque
32+
disabledShaderPasses: []
33+
m_SavedProperties:
34+
serializedVersion: 3
35+
m_TexEnvs:
36+
- _BaseMap:
37+
m_Texture: {fileID: 0}
38+
m_Scale: {x: 1, y: 1}
39+
m_Offset: {x: 0, y: 0}
40+
- _BumpMap:
41+
m_Texture: {fileID: 0}
42+
m_Scale: {x: 1, y: 1}
43+
m_Offset: {x: 0, y: 0}
44+
- _EmissionMap:
45+
m_Texture: {fileID: 0}
46+
m_Scale: {x: 1, y: 1}
47+
m_Offset: {x: 0, y: 0}
48+
- _MainTex:
49+
m_Texture: {fileID: 0}
50+
m_Scale: {x: 1, y: 1}
51+
m_Offset: {x: 0, y: 0}
52+
- _MetallicGlossMap:
53+
m_Texture: {fileID: 0}
54+
m_Scale: {x: 1, y: 1}
55+
m_Offset: {x: 0, y: 0}
56+
- _OcclusionMap:
57+
m_Texture: {fileID: 0}
58+
m_Scale: {x: 1, y: 1}
59+
m_Offset: {x: 0, y: 0}
60+
- _SpecGlossMap:
61+
m_Texture: {fileID: 0}
62+
m_Scale: {x: 1, y: 1}
63+
m_Offset: {x: 0, y: 0}
64+
m_Floats:
65+
- _AlphaClip: 0
66+
- _Blend: 0
67+
- _BumpScale: 1
68+
- _Cull: 2
69+
- _Cutoff: 0.5
70+
- _DstBlend: 0
71+
- _EnvironmentReflections: 1
72+
- _GlossMapScale: 0
73+
- _Glossiness: 0
74+
- _GlossyReflections: 0
75+
- _Metallic: 0
76+
- _OcclusionStrength: 1
77+
- _QueueOffset: 0
78+
- _ReceiveShadows: 1
79+
- _Smoothness: 0.5
80+
- _SmoothnessTextureChannel: 0
81+
- _SpecularHighlights: 1
82+
- _SrcBlend: 1
83+
- _Surface: 0
84+
- _WorkflowMode: 1
85+
- _ZWrite: 1
86+
m_Colors:
87+
- _BaseColor: {r: 0.3019608, g: 0.5921569, b: 0.90196085, a: 1}
88+
- _Color: {r: 1, g: 1, b: 1, a: 1}
89+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
90+
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}

UOP1_Project/Assets/Scenes/Whiteboxing/3. Town/Proposal_3/Town_Materials/Mtl_Lake.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: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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: Mtl_Water Transparent
11+
m_Shader: {fileID: 4800000, guid: 650dd9526735d5b46b79224bc6e94025, type: 3}
12+
m_ShaderKeywords: _ALPHAMODULATE_ON
13+
m_LightmapFlags: 4
14+
m_EnableInstancingVariants: 0
15+
m_DoubleSidedGI: 0
16+
m_CustomRenderQueue: 3000
17+
stringTagMap:
18+
RenderType: Transparent
19+
disabledShaderPasses:
20+
- SHADOWCASTER
21+
m_SavedProperties:
22+
serializedVersion: 3
23+
m_TexEnvs:
24+
- _BaseMap:
25+
m_Texture: {fileID: 0}
26+
m_Scale: {x: 1, y: 1}
27+
m_Offset: {x: 0, y: 0}
28+
- _BumpMap:
29+
m_Texture: {fileID: 0}
30+
m_Scale: {x: 1, y: 1}
31+
m_Offset: {x: 0, y: 0}
32+
- _EmissionMap:
33+
m_Texture: {fileID: 0}
34+
m_Scale: {x: 1, y: 1}
35+
m_Offset: {x: 0, y: 0}
36+
- _MainTex:
37+
m_Texture: {fileID: 0}
38+
m_Scale: {x: 1, y: 1}
39+
m_Offset: {x: 0, y: 0}
40+
- _MetallicGlossMap:
41+
m_Texture: {fileID: 0}
42+
m_Scale: {x: 1, y: 1}
43+
m_Offset: {x: 0, y: 0}
44+
- _OcclusionMap:
45+
m_Texture: {fileID: 0}
46+
m_Scale: {x: 1, y: 1}
47+
m_Offset: {x: 0, y: 0}
48+
- _SpecGlossMap:
49+
m_Texture: {fileID: 0}
50+
m_Scale: {x: 1, y: 1}
51+
m_Offset: {x: 0, y: 0}
52+
m_Floats:
53+
- _AlphaClip: 0
54+
- _Blend: 3
55+
- _BumpScale: 1
56+
- _Cull: 2
57+
- _Cutoff: 0.5
58+
- _DstBlend: 0
59+
- _EnvironmentReflections: 1
60+
- _GlossMapScale: 0
61+
- _Glossiness: 0
62+
- _GlossyReflections: 0
63+
- _Metallic: 0
64+
- _OcclusionStrength: 1
65+
- _QueueOffset: 0
66+
- _ReceiveShadows: 1
67+
- _SampleGI: 0
68+
- _Smoothness: 0.5
69+
- _SmoothnessTextureChannel: 0
70+
- _SpecularHighlights: 1
71+
- _SrcBlend: 2
72+
- _Surface: 1
73+
- _WorkflowMode: 1
74+
- _ZWrite: 0
75+
m_Colors:
76+
- _BaseColor: {r: 0.3019608, g: 0.5921569, b: 0.90196085, a: 1}
77+
- _Color: {r: 1, g: 1, b: 1, a: 1}
78+
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
79+
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
80+
--- !u!114 &7994676475043192882
81+
MonoBehaviour:
82+
m_ObjectHideFlags: 11
83+
m_CorrespondingSourceObject: {fileID: 0}
84+
m_PrefabInstance: {fileID: 0}
85+
m_PrefabAsset: {fileID: 0}
86+
m_GameObject: {fileID: 0}
87+
m_Enabled: 1
88+
m_EditorHideFlags: 0
89+
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
90+
m_Name:
91+
m_EditorClassIdentifier:
92+
version: 2

UOP1_Project/Assets/Scenes/Whiteboxing/3. Town/Proposal_3/Town_Materials/Mtl_Water Transparent.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.

0 commit comments

Comments
 (0)