Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.

Commit 98801ab

Browse files
committed
Implement Parameters Menu
Inital basic implementation of Parameters Menu.
1 parent 47a4239 commit 98801ab

12 files changed

+2042
-3400
lines changed
Lines changed: 3 additions & 0 deletions
Loading

Assets/Images/Logo_black_squared.png.meta

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

Assets/Resources/ArrayParameterPrefab.prefab

Lines changed: 156 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,139 @@
11
%YAML 1.1
22
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!1 &3292852438426172430
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: 3743284765854870093}
12+
- component: {fileID: 5772670137634695462}
13+
- component: {fileID: 1937208582814147234}
14+
m_Layer: 5
15+
m_Name: ArraySizeLabel
16+
m_TagString: Untagged
17+
m_Icon: {fileID: 0}
18+
m_NavMeshLayer: 0
19+
m_StaticEditorFlags: 0
20+
m_IsActive: 1
21+
--- !u!224 &3743284765854870093
22+
RectTransform:
23+
m_ObjectHideFlags: 0
24+
m_CorrespondingSourceObject: {fileID: 0}
25+
m_PrefabInstance: {fileID: 0}
26+
m_PrefabAsset: {fileID: 0}
27+
m_GameObject: {fileID: 3292852438426172430}
28+
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
29+
m_LocalPosition: {x: 0, y: 0, z: 0}
30+
m_LocalScale: {x: 1, y: 1, z: 1}
31+
m_Children: []
32+
m_Father: {fileID: 7423703962313340672}
33+
m_RootOrder: 1
34+
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
35+
m_AnchorMin: {x: 0, y: 0}
36+
m_AnchorMax: {x: 0, y: 0}
37+
m_AnchoredPosition: {x: 0, y: 0}
38+
m_SizeDelta: {x: 637.2056, y: 45}
39+
m_Pivot: {x: 0.5, y: 0.5}
40+
--- !u!222 &5772670137634695462
41+
CanvasRenderer:
42+
m_ObjectHideFlags: 0
43+
m_CorrespondingSourceObject: {fileID: 0}
44+
m_PrefabInstance: {fileID: 0}
45+
m_PrefabAsset: {fileID: 0}
46+
m_GameObject: {fileID: 3292852438426172430}
47+
m_CullTransparentMesh: 0
48+
--- !u!114 &1937208582814147234
49+
MonoBehaviour:
50+
m_ObjectHideFlags: 0
51+
m_CorrespondingSourceObject: {fileID: 0}
52+
m_PrefabInstance: {fileID: 0}
53+
m_PrefabAsset: {fileID: 0}
54+
m_GameObject: {fileID: 3292852438426172430}
55+
m_Enabled: 1
56+
m_EditorHideFlags: 0
57+
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
58+
m_Name:
59+
m_EditorClassIdentifier:
60+
m_Material: {fileID: 0}
61+
m_Color: {r: 1, g: 1, b: 1, a: 1}
62+
m_RaycastTarget: 1
63+
m_Maskable: 1
64+
m_OnCullStateChanged:
65+
m_PersistentCalls:
66+
m_Calls: []
67+
m_text: 'Enter the array size (of type INTEGER):'
68+
m_isRightToLeft: 0
69+
m_fontAsset: {fileID: 11400000, guid: db8e5d852fafb3f4ab85b612e8d470ce, type: 2}
70+
m_sharedMaterial: {fileID: 8963545961531463164, guid: db8e5d852fafb3f4ab85b612e8d470ce,
71+
type: 2}
72+
m_fontSharedMaterials: []
73+
m_fontMaterial: {fileID: 0}
74+
m_fontMaterials: []
75+
m_fontColor32:
76+
serializedVersion: 2
77+
rgba: 4294967295
78+
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
79+
m_enableVertexGradient: 0
80+
m_colorMode: 3
81+
m_fontColorGradient:
82+
topLeft: {r: 1, g: 1, b: 1, a: 1}
83+
topRight: {r: 1, g: 1, b: 1, a: 1}
84+
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
85+
bottomRight: {r: 1, g: 1, b: 1, a: 1}
86+
m_fontColorGradientPreset: {fileID: 0}
87+
m_spriteAsset: {fileID: 0}
88+
m_tintAllSprites: 0
89+
m_StyleSheet: {fileID: 0}
90+
m_TextStyleHashCode: -1183493901
91+
m_overrideHtmlColors: 0
92+
m_faceColor:
93+
serializedVersion: 2
94+
rgba: 4294967295
95+
m_fontSize: 30
96+
m_fontSizeBase: 30
97+
m_fontWeight: 400
98+
m_enableAutoSizing: 0
99+
m_fontSizeMin: 18
100+
m_fontSizeMax: 72
101+
m_fontStyle: 0
102+
m_HorizontalAlignment: 1
103+
m_VerticalAlignment: 256
104+
m_textAlignment: 65535
105+
m_characterSpacing: 0
106+
m_wordSpacing: 0
107+
m_lineSpacing: 0
108+
m_lineSpacingMax: 0
109+
m_paragraphSpacing: 0
110+
m_charWidthMaxAdj: 0
111+
m_enableWordWrapping: 1
112+
m_wordWrappingRatios: 0.4
113+
m_overflowMode: 0
114+
m_linkedTextComponent: {fileID: 0}
115+
parentLinkedComponent: {fileID: 0}
116+
m_enableKerning: 1
117+
m_enableExtraPadding: 0
118+
checkPaddingRequired: 0
119+
m_isRichText: 1
120+
m_parseCtrlCharacters: 1
121+
m_isOrthographic: 1
122+
m_isCullingEnabled: 0
123+
m_horizontalMapping: 0
124+
m_verticalMapping: 0
125+
m_uvLineOffset: 0
126+
m_geometrySortingOrder: 0
127+
m_IsTextObjectScaleStatic: 0
128+
m_VertexBufferAutoSizeReduction: 1
129+
m_useMaxVisibleDescender: 1
130+
m_pageToDisplay: 1
131+
m_margin: {x: 0, y: 0, z: 0, w: 0}
132+
m_isUsingLegacyAnimationComponent: 0
133+
m_isVolumetricText: 0
134+
m_hasFontAssetChanged: 0
135+
m_baseMaterial: {fileID: 0}
136+
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
3137
--- !u!1 &7423703960882505220
4138
GameObject:
5139
m_ObjectHideFlags: 0
@@ -35,7 +169,7 @@ RectTransform:
35169
m_AnchorMin: {x: 0, y: 0}
36170
m_AnchorMax: {x: 0, y: 0}
37171
m_AnchoredPosition: {x: 0, y: 0}
38-
m_SizeDelta: {x: 649.6518, y: 45}
172+
m_SizeDelta: {x: 637.2056, y: 45}
39173
m_Pivot: {x: 0.5, y: 0.5}
40174
--- !u!222 &7423703960882505223
41175
CanvasRenderer:
@@ -242,12 +376,12 @@ RectTransform:
242376
m_LocalScale: {x: 1, y: 1, z: 1}
243377
m_Children: []
244378
m_Father: {fileID: 7423703962313340672}
245-
m_RootOrder: 5
379+
m_RootOrder: 6
246380
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
247381
m_AnchorMin: {x: 0, y: 0}
248382
m_AnchorMax: {x: 0, y: 0}
249383
m_AnchoredPosition: {x: 0, y: 0}
250-
m_SizeDelta: {x: 649.6518, y: 45}
384+
m_SizeDelta: {x: 637.2056, y: 45}
251385
m_Pivot: {x: 0.5, y: 0.5}
252386
--- !u!222 &7423703960996736891
253387
CanvasRenderer:
@@ -610,12 +744,12 @@ RectTransform:
610744
m_LocalScale: {x: 1, y: 1, z: 1}
611745
m_Children: []
612746
m_Father: {fileID: 7423703962313340672}
613-
m_RootOrder: 4
747+
m_RootOrder: 5
614748
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
615749
m_AnchorMin: {x: 0, y: 0}
616750
m_AnchorMax: {x: 0, y: 0}
617751
m_AnchoredPosition: {x: 0, y: 0}
618-
m_SizeDelta: {x: 649.6518, y: 47.47693}
752+
m_SizeDelta: {x: 637.2056, y: 47.47693}
619753
m_Pivot: {x: 0.5, y: 0.5}
620754
--- !u!222 &7423703961955015751
621755
CanvasRenderer:
@@ -646,8 +780,9 @@ MonoBehaviour:
646780
m_Calls: []
647781
m_text: Description
648782
m_isRightToLeft: 0
649-
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
650-
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
783+
m_fontAsset: {fileID: 11400000, guid: db8e5d852fafb3f4ab85b612e8d470ce, type: 2}
784+
m_sharedMaterial: {fileID: 8963545961531463164, guid: db8e5d852fafb3f4ab85b612e8d470ce,
785+
type: 2}
651786
m_fontSharedMaterials: []
652787
m_fontMaterial: {fileID: 0}
653788
m_fontMaterials: []
@@ -746,12 +881,12 @@ RectTransform:
746881
- {fileID: 7423703961206371251}
747882
- {fileID: 7423703960953627469}
748883
m_Father: {fileID: 7423703962313340672}
749-
m_RootOrder: 1
884+
m_RootOrder: 2
750885
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
751886
m_AnchorMin: {x: 0, y: 0}
752887
m_AnchorMax: {x: 0, y: 0}
753888
m_AnchoredPosition: {x: 0, y: 0}
754-
m_SizeDelta: {x: 649.6518, y: 45}
889+
m_SizeDelta: {x: 637.2056, y: 45}
755890
m_Pivot: {x: 0.5, y: 0.5}
756891
--- !u!222 &7423703962119956032
757892
CanvasRenderer:
@@ -885,6 +1020,7 @@ RectTransform:
8851020
m_LocalScale: {x: 1, y: 1, z: 1}
8861021
m_Children:
8871022
- {fileID: 7423703960882505221}
1023+
- {fileID: 3743284765854870093}
8881024
- {fileID: 7423703962119956037}
8891025
- {fileID: 1238826139613701151}
8901026
- {fileID: 7423703962386042610}
@@ -895,8 +1031,8 @@ RectTransform:
8951031
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
8961032
m_AnchorMin: {x: 0, y: 0}
8971033
m_AnchorMax: {x: 0, y: 0}
898-
m_AnchoredPosition: {x: 0, y: -34.1}
899-
m_SizeDelta: {x: 677.87286, y: 408.1817}
1034+
m_AnchoredPosition: {x: 0, y: -73.9}
1035+
m_SizeDelta: {x: 677.87286, y: 487.83795}
9001036
m_Pivot: {x: 0.5, y: 0.5}
9011037
--- !u!222 &7423703962313340674
9021038
CanvasRenderer:
@@ -993,12 +1129,12 @@ RectTransform:
9931129
- {fileID: 7423703961155971521}
9941130
- {fileID: 7423703961235460369}
9951131
m_Father: {fileID: 7423703962313340672}
996-
m_RootOrder: 3
1132+
m_RootOrder: 4
9971133
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
9981134
m_AnchorMin: {x: 0, y: 0}
9991135
m_AnchorMax: {x: 0, y: 0}
10001136
m_AnchoredPosition: {x: 0, y: 0}
1001-
m_SizeDelta: {x: 649.6518, y: 45}
1137+
m_SizeDelta: {x: 637.2056, y: 45}
10021138
m_Pivot: {x: 0.5, y: 0.5}
10031139
--- !u!222 &7423703962386042621
10041140
CanvasRenderer:
@@ -1113,7 +1249,7 @@ GameObject:
11131249
- component: {fileID: 6109783856304820313}
11141250
- component: {fileID: 4742569621608447368}
11151251
m_Layer: 5
1116-
m_Name: ElementType
1252+
m_Name: Label
11171253
m_TagString: Untagged
11181254
m_Icon: {fileID: 0}
11191255
m_NavMeshLayer: 0
@@ -1131,12 +1267,12 @@ RectTransform:
11311267
m_LocalScale: {x: 1, y: 1, z: 1}
11321268
m_Children: []
11331269
m_Father: {fileID: 7423703962313340672}
1134-
m_RootOrder: 2
1270+
m_RootOrder: 3
11351271
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
11361272
m_AnchorMin: {x: 0, y: 0}
11371273
m_AnchorMax: {x: 0, y: 0}
11381274
m_AnchoredPosition: {x: 0, y: 0}
1139-
m_SizeDelta: {x: 649.6518, y: 45}
1275+
m_SizeDelta: {x: 637.2056, y: 45}
11401276
m_Pivot: {x: 0.5, y: 0.5}
11411277
--- !u!222 &6109783856304820313
11421278
CanvasRenderer:
@@ -1165,10 +1301,11 @@ MonoBehaviour:
11651301
m_OnCullStateChanged:
11661302
m_PersistentCalls:
11671303
m_Calls: []
1168-
m_text: Element Type
1304+
m_text: Label
11691305
m_isRightToLeft: 0
1170-
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
1171-
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
1306+
m_fontAsset: {fileID: 11400000, guid: db8e5d852fafb3f4ab85b612e8d470ce, type: 2}
1307+
m_sharedMaterial: {fileID: 8963545961531463164, guid: db8e5d852fafb3f4ab85b612e8d470ce,
1308+
type: 2}
11721309
m_fontSharedMaterials: []
11731310
m_fontMaterial: {fileID: 0}
11741311
m_fontMaterials: []

0 commit comments

Comments
 (0)