clean up and organization
This commit is contained in:
parent
55faff3b82
commit
ec4fd39977
1
.gitignore
vendored
1
.gitignore
vendored
@ -36,3 +36,4 @@ Assets/Plugins/**
|
|||||||
.venv
|
.venv
|
||||||
AGENTS.md
|
AGENTS.md
|
||||||
.python-version
|
.python-version
|
||||||
|
ProfilerCaptures
|
||||||
|
|||||||
@ -84,40 +84,40 @@ MonoBehaviour:
|
|||||||
structural: 10
|
structural: 10
|
||||||
- x: 0
|
- x: 0
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 1
|
- x: 1
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 2
|
- x: 2
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 3
|
- x: 3
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 4
|
- x: 4
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 5
|
- x: 5
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 6
|
- x: 6
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 7
|
- x: 7
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 8
|
- x: 8
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 9
|
- x: 9
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 10
|
- x: 10
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 11
|
- x: 11
|
||||||
y: -4
|
y: -4
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: -12
|
- x: -12
|
||||||
y: -3
|
y: -3
|
||||||
structural: 10
|
structural: 10
|
||||||
@ -189,7 +189,7 @@ MonoBehaviour:
|
|||||||
structural: 10
|
structural: 10
|
||||||
- x: 11
|
- x: 11
|
||||||
y: -3
|
y: -3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: -12
|
- x: -12
|
||||||
y: -2
|
y: -2
|
||||||
structural: 10
|
structural: 10
|
||||||
@ -261,7 +261,7 @@ MonoBehaviour:
|
|||||||
structural: 10
|
structural: 10
|
||||||
- x: 11
|
- x: 11
|
||||||
y: -2
|
y: -2
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: -12
|
- x: -12
|
||||||
y: -1
|
y: -1
|
||||||
structural: 10
|
structural: 10
|
||||||
@ -333,7 +333,7 @@ MonoBehaviour:
|
|||||||
structural: 10
|
structural: 10
|
||||||
- x: 11
|
- x: 11
|
||||||
y: -1
|
y: -1
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: -12
|
- x: -12
|
||||||
y: 0
|
y: 0
|
||||||
structural: 10
|
structural: 10
|
||||||
@ -405,7 +405,7 @@ MonoBehaviour:
|
|||||||
structural: 10
|
structural: 10
|
||||||
- x: 11
|
- x: 11
|
||||||
y: 0
|
y: 0
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: -12
|
- x: -12
|
||||||
y: 1
|
y: 1
|
||||||
structural: 10
|
structural: 10
|
||||||
@ -477,7 +477,7 @@ MonoBehaviour:
|
|||||||
structural: 10
|
structural: 10
|
||||||
- x: 11
|
- x: 11
|
||||||
y: 1
|
y: 1
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: -12
|
- x: -12
|
||||||
y: 2
|
y: 2
|
||||||
structural: 10
|
structural: 10
|
||||||
@ -549,7 +549,7 @@ MonoBehaviour:
|
|||||||
structural: 10
|
structural: 10
|
||||||
- x: 11
|
- x: 11
|
||||||
y: 2
|
y: 2
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: -12
|
- x: -12
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 10
|
||||||
@ -588,40 +588,40 @@ MonoBehaviour:
|
|||||||
structural: 10
|
structural: 10
|
||||||
- x: 0
|
- x: 0
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 1
|
- x: 1
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 2
|
- x: 2
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 3
|
- x: 3
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 4
|
- x: 4
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 5
|
- x: 5
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 6
|
- x: 6
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 7
|
- x: 7
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 8
|
- x: 8
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 9
|
- x: 9
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 10
|
- x: 10
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
- x: 11
|
- x: 11
|
||||||
y: 3
|
y: 3
|
||||||
structural: 10
|
structural: 50
|
||||||
objects:
|
objects:
|
||||||
- id: socketwest_001
|
- id: socketwest_001
|
||||||
layer: 1
|
layer: 1
|
||||||
|
|||||||
@ -9,7 +9,7 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 2344120523011602441}
|
- component: {fileID: 2344120523011602441}
|
||||||
m_Layer: 3
|
m_Layer: 5
|
||||||
m_Name: Overview
|
m_Name: Overview
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
@ -48,7 +48,7 @@ GameObject:
|
|||||||
- component: {fileID: 5189104512823423113}
|
- component: {fileID: 5189104512823423113}
|
||||||
- component: {fileID: 5189104512823423114}
|
- component: {fileID: 5189104512823423114}
|
||||||
- component: {fileID: 5172885852129304430}
|
- component: {fileID: 5172885852129304430}
|
||||||
m_Layer: 3
|
m_Layer: 5
|
||||||
m_Name: PDA DeviceUI
|
m_Name: PDA DeviceUI
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
@ -62,7 +62,7 @@ RectTransform:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 5189104512823423108}
|
m_GameObject: {fileID: 5189104512823423108}
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
@ -72,10 +72,10 @@ RectTransform:
|
|||||||
- {fileID: 5143285738342018800}
|
- {fileID: 5143285738342018800}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 1616, y: 960}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!225 &5189104512823423113
|
--- !u!225 &5189104512823423113
|
||||||
CanvasGroup:
|
CanvasGroup:
|
||||||
@ -194,7 +194,7 @@ GameObject:
|
|||||||
- component: {fileID: 5189104512904093463}
|
- component: {fileID: 5189104512904093463}
|
||||||
- component: {fileID: 5189104512904093461}
|
- component: {fileID: 5189104512904093461}
|
||||||
- component: {fileID: 5189104512904093462}
|
- component: {fileID: 5189104512904093462}
|
||||||
m_Layer: 3
|
m_Layer: 5
|
||||||
m_Name: Background
|
m_Name: Background
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
@ -267,7 +267,7 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 5189104513583136754}
|
- component: {fileID: 5189104513583136754}
|
||||||
m_Layer: 3
|
m_Layer: 5
|
||||||
m_Name: Screen
|
m_Name: Screen
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
@ -293,7 +293,7 @@ RectTransform:
|
|||||||
m_AnchorMin: {x: 0, y: 0}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: -16.000004, y: -60}
|
m_SizeDelta: {x: -16, y: -60}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!1 &7630895582552750376
|
--- !u!1 &7630895582552750376
|
||||||
GameObject:
|
GameObject:
|
||||||
@ -306,7 +306,7 @@ GameObject:
|
|||||||
- component: {fileID: 5143285738342018800}
|
- component: {fileID: 5143285738342018800}
|
||||||
- component: {fileID: 3355531228330655516}
|
- component: {fileID: 3355531228330655516}
|
||||||
- component: {fileID: 8231154667189915094}
|
- component: {fileID: 8231154667189915094}
|
||||||
m_Layer: 3
|
m_Layer: 5
|
||||||
m_Name: Border
|
m_Name: Border
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
@ -378,10 +378,22 @@ PrefabInstance:
|
|||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 5189104513583136754}
|
m_TransformParent: {fileID: 5189104513583136754}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
|
- target: {fileID: 697503556865107314, guid: d265b7979ba0541d28d96cf9dc24273a, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3505295608548942990, guid: d265b7979ba0541d28d96cf9dc24273a, type: 3}
|
- target: {fileID: 3505295608548942990, guid: d265b7979ba0541d28d96cf9dc24273a, type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: PDA Loading Blockage - Overview
|
value: PDA Loading Blockage - Overview
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3505295608548942990, guid: d265b7979ba0541d28d96cf9dc24273a, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4629143036411936195, guid: d265b7979ba0541d28d96cf9dc24273a, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5095047940497717355, guid: d265b7979ba0541d28d96cf9dc24273a, type: 3}
|
- target: {fileID: 5095047940497717355, guid: d265b7979ba0541d28d96cf9dc24273a, type: 3}
|
||||||
propertyPath: m_Pivot.x
|
propertyPath: m_Pivot.x
|
||||||
value: 0.5
|
value: 0.5
|
||||||
@ -491,10 +503,34 @@ PrefabInstance:
|
|||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 2344120523011602441}
|
m_TransformParent: {fileID: 2344120523011602441}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
|
- target: {fileID: 337822038175572482, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 340434434264274548, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_SizeDelta.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 442335041841384861, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
- target: {fileID: 442335041841384861, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
propertyPath: m_SizeDelta.x
|
propertyPath: m_SizeDelta.x
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 635626795805449239, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1135058434655460685, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 1812451840819551682, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2045315722593658592, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 2205273936179731084, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
- target: {fileID: 2205273936179731084, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
value: 0
|
value: 0
|
||||||
@ -519,6 +555,10 @@ PrefabInstance:
|
|||||||
propertyPath: m_AnchoredPosition.y
|
propertyPath: m_AnchoredPosition.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 2537965292423458837, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 2928964997161070624, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
- target: {fileID: 2928964997161070624, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
propertyPath: m_SizeDelta.y
|
propertyPath: m_SizeDelta.y
|
||||||
value: 0
|
value: 0
|
||||||
@ -603,6 +643,34 @@ PrefabInstance:
|
|||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3388504311071855960, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3592037629689585131, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3719867119002748044, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4425615111632868874, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4643488311260930084, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 4702375839319082150, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 5010840652791215162, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5604856761590219430, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
- target: {fileID: 5604856761590219430, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
value: 0
|
value: 0
|
||||||
@ -627,6 +695,10 @@ PrefabInstance:
|
|||||||
propertyPath: m_AnchoredPosition.y
|
propertyPath: m_AnchoredPosition.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6366030797896516257, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 6386381598501652498, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
- target: {fileID: 6386381598501652498, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
value: 0
|
value: 0
|
||||||
@ -651,10 +723,22 @@ PrefabInstance:
|
|||||||
propertyPath: m_AnchoredPosition.y
|
propertyPath: m_AnchoredPosition.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6761770262039184510, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 6967353857483846485, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7200539850373684407, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
- target: {fileID: 7200539850373684407, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: PDA Application - Operational System
|
value: PDA Application - Operational System
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 7200539850373684407, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 7517398441354750055, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
- target: {fileID: 7517398441354750055, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
value: 0
|
value: 0
|
||||||
@ -703,6 +787,10 @@ PrefabInstance:
|
|||||||
propertyPath: m_AnchoredPosition.y
|
propertyPath: m_AnchoredPosition.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8139214859691349210, guid: c892dd2da6fc6486c87b75fd8865269d, type: 3}
|
||||||
|
propertyPath: m_Layer
|
||||||
|
value: 5
|
||||||
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
@ -145,7 +145,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier: Gameplay::Intrepid.Gameplay.Entities.Player.ActionBelt.UI.CodexActionBeltUI
|
m_EditorClassIdentifier: Gameplay::Intrepid.Gameplay.Entities.Player.ActionBelt.UI.CodexActionBeltUI
|
||||||
subscriptionId: codex-action-belt-ui
|
subscriptionId: codex-action-belt-ui
|
||||||
managedWindow: {fileID: 7946827056888590021}
|
managedWindow: {fileID: 7946827056888590021}
|
||||||
actionBeltManager: {fileID: 0}
|
actionBeltRuntime: {fileID: 0}
|
||||||
left: {fileID: 3219519717030852750}
|
left: {fileID: 3219519717030852750}
|
||||||
right: {fileID: 4646922107994925008}
|
right: {fileID: 4646922107994925008}
|
||||||
center: {fileID: 2786166239990497998}
|
center: {fileID: 2786166239990497998}
|
||||||
@ -216,7 +216,7 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 3591653562263392004}
|
- component: {fileID: 3591653562263392004}
|
||||||
m_Layer: 0
|
m_Layer: 5
|
||||||
m_Name: Handle Slide Area
|
m_Name: Handle Slide Area
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
@ -254,7 +254,7 @@ GameObject:
|
|||||||
- component: {fileID: 3002635343935241009}
|
- component: {fileID: 3002635343935241009}
|
||||||
- component: {fileID: 7983189874349563369}
|
- component: {fileID: 7983189874349563369}
|
||||||
- component: {fileID: 3332824930219554583}
|
- component: {fileID: 3332824930219554583}
|
||||||
m_Layer: 0
|
m_Layer: 5
|
||||||
m_Name: Handle
|
m_Name: Handle
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
@ -329,7 +329,7 @@ GameObject:
|
|||||||
- component: {fileID: 1652839582976716669}
|
- component: {fileID: 1652839582976716669}
|
||||||
- component: {fileID: 9103603913365422108}
|
- component: {fileID: 9103603913365422108}
|
||||||
- component: {fileID: 3341751613489735701}
|
- component: {fileID: 3341751613489735701}
|
||||||
m_Layer: 0
|
m_Layer: 5
|
||||||
m_Name: Background
|
m_Name: Background
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
@ -654,7 +654,7 @@ GameObject:
|
|||||||
- component: {fileID: 2446556112066004848}
|
- component: {fileID: 2446556112066004848}
|
||||||
- component: {fileID: 3075771781979974779}
|
- component: {fileID: 3075771781979974779}
|
||||||
- component: {fileID: 402508884929663671}
|
- component: {fileID: 402508884929663671}
|
||||||
m_Layer: 0
|
m_Layer: 5
|
||||||
m_Name: Fill
|
m_Name: Fill
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
@ -728,7 +728,7 @@ GameObject:
|
|||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 1223355974295133493}
|
- component: {fileID: 1223355974295133493}
|
||||||
- component: {fileID: 5261004340368686529}
|
- component: {fileID: 5261004340368686529}
|
||||||
m_Layer: 0
|
m_Layer: 5
|
||||||
m_Name: Slider
|
m_Name: Slider
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
@ -817,7 +817,7 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 4969725701988204539}
|
- component: {fileID: 4969725701988204539}
|
||||||
m_Layer: 0
|
m_Layer: 5
|
||||||
m_Name: Fill Area
|
m_Name: Fill Area
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
|
|||||||
@ -13,7 +13,7 @@ GameObject:
|
|||||||
- component: {fileID: 5611358189969385221}
|
- component: {fileID: 5611358189969385221}
|
||||||
- component: {fileID: 8110345811091377059}
|
- component: {fileID: 8110345811091377059}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: CadenceUI
|
m_Name: CodexCadenceUI
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
@ -13,7 +13,7 @@ GameObject:
|
|||||||
- component: {fileID: 531983622729822985}
|
- component: {fileID: 531983622729822985}
|
||||||
- component: {fileID: 2856903456991075389}
|
- component: {fileID: 2856903456991075389}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: GadgetsUI
|
m_Name: CodexGadgetsUI
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
@ -13,7 +13,7 @@ GameObject:
|
|||||||
- component: {fileID: 6633350990235118641}
|
- component: {fileID: 6633350990235118641}
|
||||||
- component: {fileID: 4987402901937390553}
|
- component: {fileID: 4987402901937390553}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: LifeShieldMeterUI
|
m_Name: CodexVitalityUI
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
@ -1,335 +0,0 @@
|
|||||||
%YAML 1.1
|
|
||||||
%TAG !u! tag:unity3d.com,2011:
|
|
||||||
--- !u!1 &658755404790401736
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 9098186480249319762}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Content
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &9098186480249319762
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 658755404790401736}
|
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 3648418245756405809}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!1 &4188937328952839106
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 6137927634615136330}
|
|
||||||
- component: {fileID: 8359634894432514940}
|
|
||||||
- component: {fileID: 716205392810087382}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Border
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &6137927634615136330
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4188937328952839106}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 4122311943219390533}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!222 &8359634894432514940
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4188937328952839106}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &716205392810087382
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4188937328952839106}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 0.06674972, g: 0.23710674, b: 0.9433962, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_Sprite: {fileID: 21300000, guid: f99d9543f9a1d4118a997d7e78b78526, type: 3}
|
|
||||||
m_Type: 1
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!1 &4918791867101597364
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 7758772873932018955}
|
|
||||||
- component: {fileID: 8016836648155949894}
|
|
||||||
- component: {fileID: 6169694836172517558}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Background
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &7758772873932018955
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4918791867101597364}
|
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children: []
|
|
||||||
m_Father: {fileID: 3648418245756405809}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!222 &8016836648155949894
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4918791867101597364}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &6169694836172517558
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4918791867101597364}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 0.28586686, g: 0.7220709, b: 0.8301887, a: 1}
|
|
||||||
m_RaycastTarget: 1
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_Sprite: {fileID: 0}
|
|
||||||
m_Type: 0
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!1 &6354229259033361249
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 4122311943219390533}
|
|
||||||
- component: {fileID: 5726211398848915583}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: DialogMinimalUI
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &4122311943219390533
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 6354229259033361249}
|
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 6137927634615136330}
|
|
||||||
- {fileID: 3648418245756405809}
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: 250, y: 250}
|
|
||||||
m_Pivot: {x: 0.5, y: 0}
|
|
||||||
--- !u!114 &5726211398848915583
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 6354229259033361249}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 4e18be9fb855467faaccf816be3291c7, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
animationDuration: 0.5
|
|
||||||
animationSpeed: 4.5
|
|
||||||
scaleEmphasis: 0.9
|
|
||||||
moveIntensity: 25
|
|
||||||
border: {fileID: 716205392810087382}
|
|
||||||
background: {fileID: 6169694836172517558}
|
|
||||||
content: {fileID: 658755404790401736}
|
|
||||||
--- !u!1 &8636590363115757433
|
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
serializedVersion: 6
|
|
||||||
m_Component:
|
|
||||||
- component: {fileID: 3648418245756405809}
|
|
||||||
- component: {fileID: 6269582886694731172}
|
|
||||||
- component: {fileID: 5700153691308807814}
|
|
||||||
- component: {fileID: 1770429526161291629}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Mask
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!224 &3648418245756405809
|
|
||||||
RectTransform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8636590363115757433}
|
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
|
||||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
||||||
m_ConstrainProportionsScale: 0
|
|
||||||
m_Children:
|
|
||||||
- {fileID: 7758772873932018955}
|
|
||||||
- {fileID: 9098186480249319762}
|
|
||||||
m_Father: {fileID: 4122311943219390533}
|
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
|
||||||
m_AnchorMax: {x: 1, y: 1}
|
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
|
||||||
m_SizeDelta: {x: -6, y: -6}
|
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
|
||||||
--- !u!222 &6269582886694731172
|
|
||||||
CanvasRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8636590363115757433}
|
|
||||||
m_CullTransparentMesh: 1
|
|
||||||
--- !u!114 &5700153691308807814
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8636590363115757433}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_Material: {fileID: 0}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_RaycastTarget: 0
|
|
||||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
|
||||||
m_Maskable: 1
|
|
||||||
m_OnCullStateChanged:
|
|
||||||
m_PersistentCalls:
|
|
||||||
m_Calls: []
|
|
||||||
m_Sprite: {fileID: 21300000, guid: f99d9543f9a1d4118a997d7e78b78526, type: 3}
|
|
||||||
m_Type: 1
|
|
||||||
m_PreserveAspect: 0
|
|
||||||
m_FillCenter: 1
|
|
||||||
m_FillMethod: 4
|
|
||||||
m_FillAmount: 1
|
|
||||||
m_FillClockwise: 1
|
|
||||||
m_FillOrigin: 0
|
|
||||||
m_UseSpriteMesh: 0
|
|
||||||
m_PixelsPerUnitMultiplier: 1
|
|
||||||
--- !u!114 &1770429526161291629
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 8636590363115757433}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_ShowMaskGraphic: 0
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 18f44b986d2754181a3a9695f6898774
|
|
||||||
PrefabImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -48,7 +48,7 @@ TextureImporter:
|
|||||||
spriteMeshType: 0
|
spriteMeshType: 0
|
||||||
alignment: 0
|
alignment: 0
|
||||||
spritePivot: {x: 0.5, y: 0.5}
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
spritePixelsToUnits: 64
|
spritePixelsToUnits: 128
|
||||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
spriteGenerateFallbackPhysicsShape: 0
|
spriteGenerateFallbackPhysicsShape: 0
|
||||||
alphaUsage: 1
|
alphaUsage: 1
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -258,7 +258,7 @@ Transform:
|
|||||||
m_GameObject: {fileID: 256102355}
|
m_GameObject: {fileID: 256102355}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: 10.5, y: 0, z: 3.5}
|
m_LocalPosition: {x: 8.5, y: 0, z: 1.5}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
@ -331,7 +331,6 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 4b95e55c65424b97a5b8b42d5fab8adf, type: 3}
|
m_Script: {fileID: 11500000, guid: 4b95e55c65424b97a5b8b42d5fab8adf, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier: Gameplay::Intrepid.Gameplay.Journey.Runtime.Gameplay.JourneyGameplayGate
|
m_EditorClassIdentifier: Gameplay::Intrepid.Gameplay.Journey.Runtime.Gameplay.JourneyGameplayGate
|
||||||
actionBeltManagerTag: {fileID: 11400000, guid: 24d31645b4d544dd69b6ada8858ba50e, type: 2}
|
|
||||||
--- !u!1 &555055773
|
--- !u!1 &555055773
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -1,4 +1,5 @@
|
|||||||
using Intrepid.Core.GameState;
|
using Intrepid.Core.GameState;
|
||||||
|
using Intrepid.Core.Inputs;
|
||||||
using Intrepid.Diagnostics;
|
using Intrepid.Diagnostics;
|
||||||
using Intrepid.GameManagers;
|
using Intrepid.GameManagers;
|
||||||
using Intrepid.Integration.Input;
|
using Intrepid.Integration.Input;
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using Intrepid.Integration.Input;
|
using Intrepid.Integration.Input;
|
||||||
using Intrepid.SimpleEvents;
|
using Intrepid.SimpleEvents;
|
||||||
|
|
||||||
namespace Intrepid.Core.Messages.Events
|
namespace Intrepid.Core.Inputs.Events
|
||||||
{
|
{
|
||||||
public class ChangeInputSchemeEvent : IEventBase
|
public class ChangeInputSchemeEvent : IEventBase
|
||||||
{
|
{
|
||||||
@ -1,4 +1,4 @@
|
|||||||
using Intrepid.Core.Messages.Events;
|
using Intrepid.Core.Inputs.Events;
|
||||||
using Intrepid.GameManagers;
|
using Intrepid.GameManagers;
|
||||||
using Intrepid.Integration.Input;
|
using Intrepid.Integration.Input;
|
||||||
using Intrepid.SimpleEvents;
|
using Intrepid.SimpleEvents;
|
||||||
@ -6,7 +6,7 @@ using Intrepid.Utilities;
|
|||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Intrepid.Core
|
namespace Intrepid.Core.Inputs
|
||||||
{
|
{
|
||||||
public class InputManager : EventListener
|
public class InputManager : EventListener
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Intrepid.Core
|
namespace Intrepid.Core.Inputs
|
||||||
{
|
{
|
||||||
public abstract class InputResolver : ScriptableObject
|
public abstract class InputResolver : ScriptableObject
|
||||||
{
|
{
|
||||||
@ -1,9 +0,0 @@
|
|||||||
using Intrepid.SimpleEvents;
|
|
||||||
|
|
||||||
namespace Intrepid.Core.Messages.Events
|
|
||||||
{
|
|
||||||
public class FlexibleWorkableAreaPaddingEvent : IEventBase
|
|
||||||
{
|
|
||||||
public string Id { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 706994d605e04fb19f2aac32ce15855d
|
|
||||||
timeCreated: 1781255357
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: e52b30f262fe46099e88482d267cb612
|
|
||||||
timeCreated: 1782403455
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
namespace Intrepid.Core.Themes
|
|
||||||
{
|
|
||||||
public abstract class AbstractThemeRelated
|
|
||||||
{
|
|
||||||
protected Palettes Palettes { get; }
|
|
||||||
|
|
||||||
protected AbstractThemeRelated(Palettes palettes)
|
|
||||||
{
|
|
||||||
Palettes = palettes;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5169ac10d1674049afd660942af8e390
|
|
||||||
timeCreated: 1746823381
|
|
||||||
@ -1,179 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Utilities;
|
|
||||||
using Sirenix.OdinInspector;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
namespace Intrepid.Core.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class ColorContrast
|
|
||||||
{
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color borderOut = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color borderIn = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color background = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color text = new(0,0,0,0);
|
|
||||||
|
|
||||||
public Color BorderOut => borderOut;
|
|
||||||
public Color BorderIn => borderIn;
|
|
||||||
public Color Background => background;
|
|
||||||
public Color Text => text;
|
|
||||||
}
|
|
||||||
|
|
||||||
[Serializable]
|
|
||||||
public class ColorStates
|
|
||||||
{
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color selected = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color available = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color clicked = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color denied = new(0,0,0,0);
|
|
||||||
|
|
||||||
public Color Selected => selected;
|
|
||||||
public Color Available => available;
|
|
||||||
public Color Clicked => clicked;
|
|
||||||
public Color Denied => denied;
|
|
||||||
|
|
||||||
public ColorBlock AsColorBlock(float colorMultiplier = 1f, float fadeDuration = 0.1f)
|
|
||||||
{
|
|
||||||
return new ColorBlock
|
|
||||||
{
|
|
||||||
normalColor = Available,
|
|
||||||
highlightedColor = Selected,
|
|
||||||
pressedColor = Clicked,
|
|
||||||
selectedColor = Selected,
|
|
||||||
disabledColor = Denied,
|
|
||||||
colorMultiplier = colorMultiplier,
|
|
||||||
fadeDuration = fadeDuration,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[Serializable]
|
|
||||||
public class ColorEmphasis
|
|
||||||
{
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color emphasis0 = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color emphasis1 = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color emphasis2 = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color emphasis3 = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, false)] private Color emphasis4 = new(0,0,0,0);
|
|
||||||
|
|
||||||
public Color Emphasis0 => emphasis0;
|
|
||||||
public Color Emphasis1 => emphasis1;
|
|
||||||
public Color Emphasis2 => emphasis2;
|
|
||||||
public Color Emphasis3 => emphasis3;
|
|
||||||
public Color Emphasis4 => emphasis4;
|
|
||||||
}
|
|
||||||
|
|
||||||
[Serializable]
|
|
||||||
public class ColorInteractable
|
|
||||||
{
|
|
||||||
[SerializeField, ColorUsage(true, true)] private Color available = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, true)] private Color selected = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, true)] private Color clicked = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, true)] private Color denied = new(0,0,0,0);
|
|
||||||
[SerializeField, ColorUsage(true, true)] private Color hijacked = new(0,0,0,0);
|
|
||||||
|
|
||||||
public Color Selected => selected;
|
|
||||||
public Color Available => available;
|
|
||||||
public Color Clicked => clicked;
|
|
||||||
public Color Denied => denied;
|
|
||||||
public Color Hijacked => hijacked;
|
|
||||||
|
|
||||||
public ColorBlock AsColorBlock(float colorMultiplier = 1f, float fadeDuration = 0.1f)
|
|
||||||
{
|
|
||||||
return new ColorBlock
|
|
||||||
{
|
|
||||||
normalColor = Available,
|
|
||||||
highlightedColor = Selected,
|
|
||||||
pressedColor = Clicked,
|
|
||||||
selectedColor = Selected,
|
|
||||||
disabledColor = Denied,
|
|
||||||
colorMultiplier = colorMultiplier,
|
|
||||||
fadeDuration = fadeDuration,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
[Serializable]
|
|
||||||
public class PaletteBundle
|
|
||||||
{
|
|
||||||
[Title("Background and Text", bold: false), SerializeField, HideLabel, InlineProperty] private ColorContrast contrast = new();
|
|
||||||
[Title("States", bold: false), SerializeField, HideLabel, InlineProperty] private ColorStates states = new();
|
|
||||||
[Title("Dynamic", bold: false), SerializeField, HideLabel, InlineProperty] private ColorEmphasis emphasis = new();
|
|
||||||
[Title("Interactable", bold: false), SerializeField, HideLabel, InlineProperty] private ColorInteractable interactable = new();
|
|
||||||
|
|
||||||
public ColorContrast Contrast => contrast;
|
|
||||||
public ColorStates States => states;
|
|
||||||
public ColorEmphasis Emphasis => emphasis;
|
|
||||||
public ColorInteractable Interactable => interactable;
|
|
||||||
public Color[] Summary => new[]
|
|
||||||
{
|
|
||||||
Contrast.BorderIn,
|
|
||||||
States.Available,
|
|
||||||
States.Selected,
|
|
||||||
States.Clicked,
|
|
||||||
Emphasis.Emphasis4,
|
|
||||||
};
|
|
||||||
|
|
||||||
private static void SetValueByReflection(object o, string fieldName, object value)
|
|
||||||
{
|
|
||||||
Functions.SetValueByReflection(o, fieldName, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Button(ButtonSizes.Medium, ButtonStyle.FoldoutButton)]
|
|
||||||
private void StartInteractableFromStates()
|
|
||||||
{
|
|
||||||
SetValueByReflection(Interactable, "selected", States.Selected);
|
|
||||||
SetValueByReflection(Interactable, "available", States.Available);
|
|
||||||
SetValueByReflection(Interactable, "clicked", States.Clicked);
|
|
||||||
SetValueByReflection(Interactable, "denied", States.Denied);
|
|
||||||
SetValueByReflection(Interactable, "hijacked", Emphasis.Emphasis2);
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool TryApplyPalette(string input)
|
|
||||||
{
|
|
||||||
if (string.IsNullOrWhiteSpace(input)) return false;
|
|
||||||
var colorStrings = input.Split(',');
|
|
||||||
if (colorStrings.Length < 13)
|
|
||||||
{
|
|
||||||
Debug.LogWarning("Palette string must contain at least 11 hex colors.");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
var parsed = new Color[colorStrings.Length];
|
|
||||||
for (var i = 0; i < colorStrings.Length; i++)
|
|
||||||
{
|
|
||||||
if (ColorUtility.TryParseHtmlString(colorStrings[i].Trim(), out var color))
|
|
||||||
parsed[i] = color;
|
|
||||||
else
|
|
||||||
throw new FormatException($"Invalid color code: {colorStrings[i]}");
|
|
||||||
}
|
|
||||||
|
|
||||||
// Map colors by index to target structure
|
|
||||||
SetValueByReflection(Contrast, "background", parsed[0]);
|
|
||||||
SetValueByReflection(Contrast, "text", parsed[1]);
|
|
||||||
SetValueByReflection(Contrast, "borderIn", parsed[2]);
|
|
||||||
SetValueByReflection(Contrast, "borderOut", parsed[3]);
|
|
||||||
|
|
||||||
SetValueByReflection(States, "selected", parsed[4]);
|
|
||||||
SetValueByReflection(States, "available", parsed[5]);
|
|
||||||
SetValueByReflection(States, "clicked", parsed[6]);
|
|
||||||
SetValueByReflection(States, "denied", parsed[7]);
|
|
||||||
|
|
||||||
for (var i = 0; i < 8; i++)
|
|
||||||
{
|
|
||||||
SetValueByReflection(Emphasis, $"emphasis{i}", parsed[8 + i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
Debug.LogError($"Failed to parse palette: {ex.Message}");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 3f48ec3bbd2341dd8a9e6e5a106af4fd
|
|
||||||
timeCreated: 1746823449
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Sirenix.OdinInspector;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Intrepid.Core.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class Palettes
|
|
||||||
{
|
|
||||||
[Title("Bundle"), SerializeField, HideLabel, InlineProperty] private PaletteBundle bundle = new();
|
|
||||||
|
|
||||||
public PaletteBundle Bundle => bundle;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 0c4b920524ba40799ed070a1a07d88c7
|
|
||||||
timeCreated: 1746823411
|
|
||||||
@ -1,31 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
namespace Intrepid.Core.Themes
|
|
||||||
{
|
|
||||||
public class UIButtonTheme : AbstractThemeRelated
|
|
||||||
{
|
|
||||||
public UIButtonTheme(Palettes palettes) : base(palettes)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public Color Text => Palettes.Bundle.Contrast.Text;
|
|
||||||
public Color Background => Palettes.Bundle.Contrast.Background;
|
|
||||||
public Color Available => Palettes.Bundle.States.Available;
|
|
||||||
public Color Selected => Palettes.Bundle.States.Selected;
|
|
||||||
public Color Clicked => Palettes.Bundle.States.Clicked;
|
|
||||||
public Color Denied => Palettes.Bundle.States.Denied;
|
|
||||||
|
|
||||||
public ColorBlock AsColorBlock(
|
|
||||||
float colorMultiplier = 1f,
|
|
||||||
float fadeDuration = 0.1f,
|
|
||||||
bool interactable = false)
|
|
||||||
{
|
|
||||||
if (interactable)
|
|
||||||
{
|
|
||||||
return Palettes.Bundle.Interactable.AsColorBlock(colorMultiplier, fadeDuration);
|
|
||||||
}
|
|
||||||
return Palettes.Bundle.States.AsColorBlock(colorMultiplier, fadeDuration);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a23d9dedf5924503acdbcd965981bc1b
|
|
||||||
timeCreated: 1746825346
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
using System;
|
|
||||||
|
|
||||||
namespace Intrepid.Core.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class UIDialogMinimalTheme : AbstractThemeRelated
|
|
||||||
{
|
|
||||||
private float Alpha { get; }
|
|
||||||
|
|
||||||
public UIDialogMinimalTheme(Palettes palettes, float alpha = 1) : base(palettes)
|
|
||||||
{
|
|
||||||
Alpha = alpha;
|
|
||||||
}
|
|
||||||
|
|
||||||
public UIWindowTheme Window => new(Palettes, Alpha);
|
|
||||||
public UIButtonTheme Button => new(Palettes);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: af6f2491d1664d2a86b95ab5ad9d9c74
|
|
||||||
timeCreated: 1746825300
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Utilities;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Intrepid.Core.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class UIWindowTheme : AbstractThemeRelated
|
|
||||||
{
|
|
||||||
private float Alpha { get; }
|
|
||||||
|
|
||||||
public UIWindowTheme(Palettes palettes, float alpha = 1) : base(palettes)
|
|
||||||
{
|
|
||||||
Alpha = alpha;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Color Text => Palettes.Bundle.Contrast.Text;
|
|
||||||
public Color Background => Palettes.Bundle.Contrast.Background;
|
|
||||||
public Color Border => Palettes.Bundle.Contrast.BorderOut;
|
|
||||||
public Color TransparentBackground => Functions.ChangeAlpha(Background, Alpha);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 0216db67aac141328c25f765bc0ace83
|
|
||||||
timeCreated: 1746823252
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9514102e3b3c414da3576d0e16058894
|
|
||||||
timeCreated: 1745384226
|
|
||||||
@ -1,147 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections;
|
|
||||||
using Intrepid.Core.Themes;
|
|
||||||
using Intrepid.Utilities;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
namespace Intrepid.Core.UI.Dialog
|
|
||||||
{
|
|
||||||
public class DialogMinimalUI : MonoBehaviour
|
|
||||||
{
|
|
||||||
[GroupConfigurations, SerializeField] private float animationDuration = 0.5f;
|
|
||||||
[GroupConfigurations, SerializeField] private float animationSpeed = 4.5f;
|
|
||||||
[GroupConfigurations, SerializeField] private float scaleEmphasis = 0.90f;
|
|
||||||
[GroupConfigurations, SerializeField] private float moveIntensity = 25f;
|
|
||||||
[GroupInjections, SerializeField] private Image border;
|
|
||||||
[GroupInjections, SerializeField] private Image background;
|
|
||||||
[GroupInjections, SerializeField] private GameObject content;
|
|
||||||
|
|
||||||
private UIDialogMinimalTheme theme;
|
|
||||||
private RectTransform RectTransform { get; set; }
|
|
||||||
private Vector2 MainPosition { get; set; }
|
|
||||||
public Vector3 MainLocalScale { get; private set; }
|
|
||||||
|
|
||||||
public UIDialogMinimalTheme Theme
|
|
||||||
{
|
|
||||||
get => theme;
|
|
||||||
set
|
|
||||||
{
|
|
||||||
theme = value;
|
|
||||||
border.color = theme.Button.Available;
|
|
||||||
background.color = theme.Window.TransparentBackground;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
|
||||||
{
|
|
||||||
RectTransform = GetComponent<RectTransform>();
|
|
||||||
MainPosition = RectTransform.anchoredPosition;
|
|
||||||
MainLocalScale = transform.localScale;
|
|
||||||
if (theme.IsNotNull()) Theme = theme;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void BlinkBorderActionTaken()
|
|
||||||
{
|
|
||||||
StartCoroutine(BlinkBorderCoroutine(Theme.Button.Clicked));
|
|
||||||
}
|
|
||||||
|
|
||||||
public void BlinkBorderSelected()
|
|
||||||
{
|
|
||||||
StartCoroutine(BlinkBorderCoroutine(Theme.Button.Selected));
|
|
||||||
}
|
|
||||||
|
|
||||||
public void BlinkBorderDropped()
|
|
||||||
{
|
|
||||||
StartCoroutine(BlinkBorderCoroutine(Theme.Button.Denied));
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Emphasis()
|
|
||||||
{
|
|
||||||
StartCoroutine(EmphasisCoroutine());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Move(Vector2 start, Vector2 end)
|
|
||||||
{
|
|
||||||
StartCoroutine(MoveCoroutine(start, end));
|
|
||||||
}
|
|
||||||
|
|
||||||
private IEnumerator BlinkBorderCoroutine(Color target)
|
|
||||||
{
|
|
||||||
border.color = target;
|
|
||||||
|
|
||||||
float time = 0;
|
|
||||||
while (time < animationDuration)
|
|
||||||
{
|
|
||||||
border.color = Color.Lerp(target, Theme.Button.Available, time);
|
|
||||||
yield return null;
|
|
||||||
time += Time.unscaledDeltaTime * animationSpeed;
|
|
||||||
}
|
|
||||||
|
|
||||||
border.color = Theme.Button.Available;
|
|
||||||
}
|
|
||||||
|
|
||||||
private IEnumerator EmphasisCoroutine()
|
|
||||||
{
|
|
||||||
transform.localScale = MainLocalScale * scaleEmphasis;
|
|
||||||
|
|
||||||
float time = 0;
|
|
||||||
while (time < animationDuration)
|
|
||||||
{
|
|
||||||
transform.localScale = Vector3.Lerp(Vector3.one * scaleEmphasis, Vector3.one, time);
|
|
||||||
yield return null;
|
|
||||||
time += Time.unscaledDeltaTime * animationSpeed;
|
|
||||||
}
|
|
||||||
|
|
||||||
transform.localScale = MainLocalScale;
|
|
||||||
}
|
|
||||||
|
|
||||||
private IEnumerator MoveCoroutine(Vector2 start, Vector2 end)
|
|
||||||
{
|
|
||||||
var complete = MainPosition;
|
|
||||||
|
|
||||||
float time = 0;
|
|
||||||
while (time < animationDuration)
|
|
||||||
{
|
|
||||||
RectTransform.anchoredPosition = Vector2.Lerp(start, end, time);
|
|
||||||
yield return null;
|
|
||||||
time += Time.unscaledDeltaTime * animationSpeed;
|
|
||||||
}
|
|
||||||
RectTransform.anchoredPosition = complete;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Upy()
|
|
||||||
{
|
|
||||||
Emphasis();
|
|
||||||
Move(MainPosition, MainPosition + Vector2.up * moveIntensity);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Downy()
|
|
||||||
{
|
|
||||||
Emphasis();
|
|
||||||
Move(MainPosition, MainPosition + Vector2.down * moveIntensity);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Lefty()
|
|
||||||
{
|
|
||||||
Emphasis();
|
|
||||||
Move(MainPosition, MainPosition + Vector2.left * moveIntensity);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Righty()
|
|
||||||
{
|
|
||||||
Emphasis();
|
|
||||||
Move(MainPosition, MainPosition + Vector2.right * moveIntensity);
|
|
||||||
}
|
|
||||||
|
|
||||||
public T GetInContent<T>() where T : Component
|
|
||||||
{
|
|
||||||
return content.GetComponent<T>();
|
|
||||||
}
|
|
||||||
|
|
||||||
public T GetOnContentChildren<T>() where T : Component
|
|
||||||
{
|
|
||||||
return content.GetComponentInChildren<T>();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4e18be9fb855467faaccf816be3291c7
|
|
||||||
timeCreated: 1745384235
|
|
||||||
@ -1,50 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Core.Camera;
|
|
||||||
using Intrepid.Core.Messages.Events;
|
|
||||||
using Intrepid.SimpleEvents;
|
|
||||||
using Intrepid.Utilities;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.UI;
|
|
||||||
|
|
||||||
namespace Intrepid.Core.UI
|
|
||||||
{
|
|
||||||
[RequireComponent(typeof(RectTransform))]
|
|
||||||
public class FlexibleWorkableAreaUI : EventListener
|
|
||||||
{
|
|
||||||
[GroupConfigurations, SerializeField] private float horizontalShift = 200f;
|
|
||||||
|
|
||||||
private RectTransform RectTransform { get; set; }
|
|
||||||
private CanvasScaler CanvasScaler { get; set; }
|
|
||||||
protected override void InitializeVariables()
|
|
||||||
{
|
|
||||||
RectTransform = GetComponent<RectTransform>();
|
|
||||||
CanvasScaler = GetComponentInParent<CanvasScaler>();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void OnBootstrap()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void Subscriptions()
|
|
||||||
{
|
|
||||||
Subscribe<FlexibleWorkableAreaPaddingEvent>(e =>
|
|
||||||
{
|
|
||||||
if (!string.Equals(SubscriptionId, e.Id, StringComparison.CurrentCultureIgnoreCase)) return;
|
|
||||||
var viewport = CameraSystem.Instance.MainCamera.WorldToViewportPoint(CameraSystem.Instance.CameraTargetPosition);
|
|
||||||
var targetScreenPosition = new Vector2(CanvasScaler.referenceResolution.x * viewport.x, CanvasScaler.referenceResolution.y * viewport.y);
|
|
||||||
if (targetScreenPosition.x > CanvasScaler.referenceResolution.x * .5f)
|
|
||||||
{
|
|
||||||
var ap = RectTransform.anchoredPosition;
|
|
||||||
ap.x = -horizontalShift;
|
|
||||||
RectTransform.anchoredPosition = ap;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
var ap = RectTransform.anchoredPosition;
|
|
||||||
ap.x = horizontalShift;
|
|
||||||
RectTransform.anchoredPosition = ap;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 0d5e061eea154107b789a8376d2ba3c1
|
|
||||||
timeCreated: 1781255327
|
|
||||||
@ -1,29 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Core.Camera;
|
|
||||||
using Intrepid.Utilities;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Intrepid.Core.UI
|
|
||||||
{
|
|
||||||
[DefaultExecutionOrder(GonConstants.ExecutionOrder.ALAP)]
|
|
||||||
public class WorldOverlayMarker : MonoBehaviour
|
|
||||||
{
|
|
||||||
[GroupConfigurations, SerializeField] private Vector3 screenOffset = Vector3.zero;
|
|
||||||
[GroupInjections, SerializeField] private Transform target;
|
|
||||||
[GroupInjections, SerializeField] private RectTransform rectTransform;
|
|
||||||
|
|
||||||
private void LateUpdate()
|
|
||||||
{
|
|
||||||
if (CameraSystem.Instance.IsNull() || target.IsNull())
|
|
||||||
{
|
|
||||||
gameObject.SetActive(false);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var cam = CameraSystem.Instance.MainCamera;
|
|
||||||
var screenPosition = cam.WorldToScreenPoint(target.position) + screenOffset;
|
|
||||||
|
|
||||||
rectTransform.position = screenPosition;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6e0a32fb74ee4fd6bae8052f4351cfa3
|
|
||||||
timeCreated: 1781065165
|
|
||||||
@ -18,10 +18,10 @@ namespace Intrepid.Gameplay.Codex.UI
|
|||||||
{
|
{
|
||||||
public class CodexWindowManager : EventListener
|
public class CodexWindowManager : EventListener
|
||||||
{
|
{
|
||||||
[GroupConfigurations, SerializeField] private CadenceUI cadenceUI;
|
[GroupConfigurations, SerializeField] private CodexCadenceUI codexCadenceUI;
|
||||||
[GroupConfigurations, SerializeField] private LifeShieldMeterUI lifeShieldUI;
|
[GroupConfigurations, SerializeField] private CodexVitalityUI codexVitalityUI;
|
||||||
[GroupConfigurations, SerializeField] private GadgetsUI gadgetsUI;
|
[GroupConfigurations, SerializeField] private CodexGadgetsUI codexGadgetsUI;
|
||||||
[GroupConfigurations, SerializeField] private CodexActionBeltUI actionBeltUI;
|
[GroupConfigurations, SerializeField] private CodexActionBeltUI codexActionBeltUI;
|
||||||
[GroupConfigurations, SerializeField] private PDADeviceUI pdaDeviceUI;
|
[GroupConfigurations, SerializeField] private PDADeviceUI pdaDeviceUI;
|
||||||
|
|
||||||
private Dictionary<WindowData, Window.Window> WindowsMap { get; } = new();
|
private Dictionary<WindowData, Window.Window> WindowsMap { get; } = new();
|
||||||
@ -33,10 +33,10 @@ namespace Intrepid.Gameplay.Codex.UI
|
|||||||
{
|
{
|
||||||
StackWindows.Clear();
|
StackWindows.Clear();
|
||||||
WindowsMap.Clear();
|
WindowsMap.Clear();
|
||||||
Add(cadenceUI);
|
Add(codexCadenceUI);
|
||||||
Add(lifeShieldUI);
|
Add(codexVitalityUI);
|
||||||
Add(gadgetsUI);
|
Add(codexGadgetsUI);
|
||||||
Add(actionBeltUI);
|
Add(codexActionBeltUI);
|
||||||
Add(pdaDeviceUI);
|
Add(pdaDeviceUI);
|
||||||
DisableAllWindows();
|
DisableAllWindows();
|
||||||
}
|
}
|
||||||
@ -55,15 +55,15 @@ namespace Intrepid.Gameplay.Codex.UI
|
|||||||
|
|
||||||
Subscribe<PlayerCommandGrantedEvent>(_ =>
|
Subscribe<PlayerCommandGrantedEvent>(_ =>
|
||||||
{
|
{
|
||||||
WindowsMap[cadenceUI.WindowData].Open();
|
WindowsMap[codexCadenceUI.WindowData].Open();
|
||||||
WindowsMap[lifeShieldUI.WindowData].Open();
|
WindowsMap[codexVitalityUI.WindowData].Open();
|
||||||
WindowsMap[gadgetsUI.WindowData].Open();
|
WindowsMap[codexGadgetsUI.WindowData].Open();
|
||||||
});
|
});
|
||||||
Subscribe<PlayerCommandRevokedEvent>(_ =>
|
Subscribe<PlayerCommandRevokedEvent>(_ =>
|
||||||
{
|
{
|
||||||
WindowsMap[cadenceUI.WindowData].Close();
|
WindowsMap[codexCadenceUI.WindowData].Close();
|
||||||
WindowsMap[lifeShieldUI.WindowData].Close();
|
WindowsMap[codexVitalityUI.WindowData].Close();
|
||||||
WindowsMap[gadgetsUI.WindowData].Close();
|
WindowsMap[codexGadgetsUI.WindowData].Close();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -71,12 +71,12 @@ namespace Intrepid.Gameplay.Codex.UI
|
|||||||
{
|
{
|
||||||
if (e.ShouldStack)
|
if (e.ShouldStack)
|
||||||
{
|
{
|
||||||
var openedWindows = WindowsMap
|
var stackableWindows = WindowsMap
|
||||||
.Values
|
.Values
|
||||||
.Where(w => w.ConditionType == WindowConditionType.Opened)
|
.Where(w => w.ConditionType is WindowConditionType.Opened)
|
||||||
.ToList();
|
.ToList();
|
||||||
StackWindows.Push(openedWindows);
|
StackWindows.Push(stackableWindows);
|
||||||
openedWindows.ForEach(window =>
|
stackableWindows.ForEach(window =>
|
||||||
{
|
{
|
||||||
window.Close();
|
window.Close();
|
||||||
});
|
});
|
||||||
@ -120,7 +120,7 @@ namespace Intrepid.Gameplay.Codex.UI
|
|||||||
Proxy.Instance.EventBus.Raise(new WindowOpenEvent
|
Proxy.Instance.EventBus.Raise(new WindowOpenEvent
|
||||||
{
|
{
|
||||||
ShouldStack = true,
|
ShouldStack = true,
|
||||||
WindowDataList = new[] { actionBeltUI.WindowData },
|
WindowDataList = new[] { codexActionBeltUI.WindowData },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -128,7 +128,7 @@ namespace Intrepid.Gameplay.Codex.UI
|
|||||||
{
|
{
|
||||||
Proxy.Instance.EventBus.Raise(new WindowCloseEvent
|
Proxy.Instance.EventBus.Raise(new WindowCloseEvent
|
||||||
{
|
{
|
||||||
WindowDataList = new[] { actionBeltUI.WindowData },
|
WindowDataList = new[] { codexActionBeltUI.WindowData },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,9 @@
|
|||||||
|
using Intrepid.SimpleEvents;
|
||||||
|
|
||||||
|
namespace Intrepid.Gameplay.Entities.Player.Events
|
||||||
|
{
|
||||||
|
public class PlayerCameraStreamFocusEvent : IEventBase
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bb383767f6fb4504af1b3804d717a568
|
||||||
|
timeCreated: 1783496404
|
||||||
@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using Intrepid.Core;
|
using Intrepid.Core;
|
||||||
|
using Intrepid.Core.Inputs;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Entities.Player.PDA.Inputs
|
namespace Intrepid.Gameplay.Entities.Player.PDA.Inputs
|
||||||
|
|||||||
@ -1,101 +0,0 @@
|
|||||||
// using System;
|
|
||||||
// using System.Collections.Generic;
|
|
||||||
// using System.Linq;
|
|
||||||
// using Intrepid.Gameplay.Entities.Player.PDA.Inputs;
|
|
||||||
// using Intrepid.Gameplay.Themes;
|
|
||||||
// using Intrepid.Sound;
|
|
||||||
// using Intrepid.Structures;
|
|
||||||
// using Intrepid.Utilities;
|
|
||||||
// using Sirenix.OdinInspector;
|
|
||||||
// using UnityEngine;
|
|
||||||
//
|
|
||||||
// namespace Intrepid.Gameplay.Entities.Player.PDA
|
|
||||||
// {
|
|
||||||
// [Serializable]
|
|
||||||
// [CreateAssetMenu(fileName = "PDA Device", menuName = "GON/PDA/PDA Device")]
|
|
||||||
// public class PDADevice : ScriptableObject
|
|
||||||
// {
|
|
||||||
// [GroupConfigurations("Prefabs"), SerializeField] private PDAApplicationLibrary applicationLibrary;
|
|
||||||
//
|
|
||||||
// [GroupConfigurations("Music"), SerializeField] private List<SoundMusicData> musicKnown;
|
|
||||||
// [GroupConfigurations("Themes"), SerializeField] private List<Theme> themesKnown;
|
|
||||||
//
|
|
||||||
// [GroupConfigurations("Apps"), SerializeField] private PDAContentTag overrideApp;
|
|
||||||
// [GroupConfigurations("Apps"), SerializeField] private List<PDAContentTag> inMemoryApps;
|
|
||||||
// [GroupConfigurations("Apps"), SerializeField] private List<PDAContentTag> externalApps;
|
|
||||||
//
|
|
||||||
// [GroupDebug, ShowInInspector, ReadOnly] public ParameterStore ParameterStore { get; private set; } = new();
|
|
||||||
// private List<PDAContentTag> InMemoryApps => inMemoryApps;
|
|
||||||
// private List<PDAContentTag> ExternalApps => externalApps;
|
|
||||||
// public PDAContentTag OverrideApp => overrideApp;
|
|
||||||
// public PDAInputs PDAInputs => PlayerInputResolver.Instance.PDA;
|
|
||||||
//
|
|
||||||
// private void OnEnable()
|
|
||||||
// {
|
|
||||||
// ExternalApps.Clear();
|
|
||||||
// ParameterStore.Clear();
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public Func<MonoBehaviour> ApplicationLoader(PDAContentTag contentTag, Transform parent)
|
|
||||||
// {
|
|
||||||
// return () => applicationLibrary.Load(contentTag, parent);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public List<SoundMusicData> GetMusicKnown()
|
|
||||||
// {
|
|
||||||
// return musicKnown;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public List<Theme> GetThemesKnown()
|
|
||||||
// {
|
|
||||||
// return themesKnown;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public PDAContentTag GetOverrideContentTag()
|
|
||||||
// {
|
|
||||||
// if (OverrideApp.IsNull()) return null;
|
|
||||||
// return OverrideApp;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public List<PDAContentTag> GetAvailableContentTags()
|
|
||||||
// {
|
|
||||||
// return InMemoryApps.Concat(ExternalApps).ToList();
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public void InstallExternalApp(PDAContentTag contentTag, params Parameter[] parameters)
|
|
||||||
// {
|
|
||||||
// if (contentTag.IsNull())
|
|
||||||
// {
|
|
||||||
// throw new ArgumentException("Content tag cannot be null");
|
|
||||||
// }
|
|
||||||
// if (!applicationLibrary.Contains(contentTag))
|
|
||||||
// {
|
|
||||||
// throw new ArgumentException($"Content tag {contentTag} not found in library");
|
|
||||||
// }
|
|
||||||
// if (parameters is null || parameters.Length != contentTag.Parameters.Count)
|
|
||||||
// {
|
|
||||||
// throw new ArgumentException("Invalid number of parameters");
|
|
||||||
// }
|
|
||||||
// if (!parameters.Select(p => p.Key).Distinct().All(k => contentTag.Parameters.Contains(k)))
|
|
||||||
// {
|
|
||||||
// throw new ArgumentException("parameters should fit the request");
|
|
||||||
// }
|
|
||||||
// foreach (var parameter in parameters)
|
|
||||||
// {
|
|
||||||
// ParameterStore.Add(parameter);
|
|
||||||
// }
|
|
||||||
// ExternalApps.Add(contentTag);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// public void RemoveExternalApp(PDAContentTag contentTag)
|
|
||||||
// {
|
|
||||||
// if (contentTag.IsNull()) return;
|
|
||||||
// if (!applicationLibrary.Contains(contentTag)) return;
|
|
||||||
// foreach (var key in contentTag.Parameters)
|
|
||||||
// {
|
|
||||||
// ParameterStore.Delete(key);
|
|
||||||
// }
|
|
||||||
// ExternalApps.Remove(contentTag);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 20b66251f3b845b4a2ae7b610bf463f2
|
|
||||||
timeCreated: 1724052405
|
|
||||||
@ -7,9 +7,7 @@ using Intrepid.Gameplay.Codex.Visual;
|
|||||||
using Intrepid.Gameplay.Entities.Player.PDA.Events;
|
using Intrepid.Gameplay.Entities.Player.PDA.Events;
|
||||||
using Intrepid.Gameplay.Entities.Player.PDA.Inputs;
|
using Intrepid.Gameplay.Entities.Player.PDA.Inputs;
|
||||||
using Intrepid.Gameplay.Entities.Player.PDA.UI;
|
using Intrepid.Gameplay.Entities.Player.PDA.UI;
|
||||||
using Intrepid.Gameplay.Themes;
|
|
||||||
using Intrepid.SimpleEvents;
|
using Intrepid.SimpleEvents;
|
||||||
using Intrepid.Sound;
|
|
||||||
using Intrepid.Structures;
|
using Intrepid.Structures;
|
||||||
using Intrepid.Utilities;
|
using Intrepid.Utilities;
|
||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
|
|||||||
@ -1,9 +1,8 @@
|
|||||||
using Intrepid.Gameplay.Codex.UI;
|
using Intrepid.Gameplay.Codex.UI;
|
||||||
using Intrepid.Gameplay.Entities.Player.UI;
|
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Entities.Player.Sentinel.Cadence.UI
|
namespace Intrepid.Gameplay.Entities.Player.Sentinel.Cadence.UI
|
||||||
{
|
{
|
||||||
public class CadenceUI : ManagedWindowUI
|
public class CodexCadenceUI : ManagedWindowUI
|
||||||
{
|
{
|
||||||
protected override void InitializeVariables()
|
protected override void InitializeVariables()
|
||||||
{
|
{
|
||||||
@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Intrepid.Core;
|
using Intrepid.Core;
|
||||||
|
using Intrepid.Core.Inputs;
|
||||||
using Intrepid.Utilities;
|
using Intrepid.Utilities;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
using Intrepid.Core.Camera;
|
using Intrepid.Core.Camera;
|
||||||
|
using Intrepid.Core.Camera.Events;
|
||||||
|
using Intrepid.GameManagers;
|
||||||
|
using Intrepid.Gameplay.Entities.Player.Events;
|
||||||
using Intrepid.SimpleEvents;
|
using Intrepid.SimpleEvents;
|
||||||
using Intrepid.Utilities;
|
using Intrepid.Utilities;
|
||||||
using Sirenix.OdinInspector;
|
using Sirenix.OdinInspector;
|
||||||
@ -26,6 +29,13 @@ namespace Intrepid.Gameplay.Entities.Player.Sentinel
|
|||||||
|
|
||||||
protected override void Subscriptions()
|
protected override void Subscriptions()
|
||||||
{
|
{
|
||||||
|
Subscribe<PlayerCameraStreamFocusEvent>(_ =>
|
||||||
|
{
|
||||||
|
Proxy.Instance.EventBus.Raise(new CameraStreamChangeEvent
|
||||||
|
{
|
||||||
|
CameraStreamStack = CameraStreamStack,
|
||||||
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,5 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Intrepid.Core.Messages.Events;
|
|
||||||
using Intrepid.GameManagers;
|
using Intrepid.GameManagers;
|
||||||
using Intrepid.Gameplay.Entities.Player.PDA.Events;
|
using Intrepid.Gameplay.Entities.Player.PDA.Events;
|
||||||
using Intrepid.Integration.Input;
|
using Intrepid.Integration.Input;
|
||||||
@ -32,10 +31,6 @@ namespace Intrepid.Gameplay.Entities.Player.Sentinel.StateMachine.States
|
|||||||
public override void RunOnFirstFrameOnly()
|
public override void RunOnFirstFrameOnly()
|
||||||
{
|
{
|
||||||
InputService.Instance.ChangeInputSchema(InputSchema.PDA);
|
InputService.Instance.ChangeInputSchema(InputSchema.PDA);
|
||||||
Proxy.Instance.EventBus.Raise(new FlexibleWorkableAreaPaddingEvent
|
|
||||||
{
|
|
||||||
Id = "pda.flexible-workable-area",
|
|
||||||
});
|
|
||||||
Proxy.Instance.EventBus.Raise(new WindowOpenEvent
|
Proxy.Instance.EventBus.Raise(new WindowOpenEvent
|
||||||
{
|
{
|
||||||
ShouldStack = true,
|
ShouldStack = true,
|
||||||
|
|||||||
@ -2,7 +2,7 @@ using Intrepid.Gameplay.Codex.UI;
|
|||||||
|
|
||||||
namespace Intrepid.Gameplay.Entities.Player.UI
|
namespace Intrepid.Gameplay.Entities.Player.UI
|
||||||
{
|
{
|
||||||
public class GadgetsUI : ManagedWindowUI
|
public class CodexGadgetsUI : ManagedWindowUI
|
||||||
{
|
{
|
||||||
protected override void InitializeVariables()
|
protected override void InitializeVariables()
|
||||||
{
|
{
|
||||||
@ -2,7 +2,7 @@ using Intrepid.Gameplay.Codex.UI;
|
|||||||
|
|
||||||
namespace Intrepid.Gameplay.Entities.Player.UI
|
namespace Intrepid.Gameplay.Entities.Player.UI
|
||||||
{
|
{
|
||||||
public class LifeShieldMeterUI : ManagedWindowUI
|
public class CodexVitalityUI : ManagedWindowUI
|
||||||
{
|
{
|
||||||
protected override void InitializeVariables()
|
protected override void InitializeVariables()
|
||||||
{
|
{
|
||||||
@ -27,7 +27,6 @@ namespace Intrepid.Gameplay.Journey.Runtime.Gameplay
|
|||||||
InputService.Instance.ChangeInputSchema(InputSchema.None);
|
InputService.Instance.ChangeInputSchema(InputSchema.None);
|
||||||
|
|
||||||
Proxy.Instance.EventBus.Raise(new ActionBeltDisableEvent());
|
Proxy.Instance.EventBus.Raise(new ActionBeltDisableEvent());
|
||||||
|
|
||||||
Proxy.Instance.EventBus.Raise(new PlayerCommandRevokedEvent());
|
Proxy.Instance.EventBus.Raise(new PlayerCommandRevokedEvent());
|
||||||
|
|
||||||
State = JourneyGameplayGateState.Locked;
|
State = JourneyGameplayGateState.Locked;
|
||||||
@ -48,19 +47,19 @@ namespace Intrepid.Gameplay.Journey.Runtime.Gameplay
|
|||||||
if (context is not { IsValid: true })
|
if (context is not { IsValid: true })
|
||||||
{
|
{
|
||||||
DLogger.LogWarn($"received an invalid unlock context. Falling back to Sentinel input. Request: {request}", ctx: this);
|
DLogger.LogWarn($"received an invalid unlock context. Falling back to Sentinel input. Request: {request}", ctx: this);
|
||||||
RestoreInput(InputSchema.Sentinel);
|
InputService.Instance.ChangeInputSchema(InputSchema.Sentinel); // restore input
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var schemaToRestore = context.PreviousInputSchema == InputSchema.None
|
var schemaToRestore = context.PreviousInputSchema == InputSchema.None
|
||||||
? InputSchema.Sentinel
|
? InputSchema.Sentinel
|
||||||
: context.PreviousInputSchema;
|
: context.PreviousInputSchema;
|
||||||
|
InputService.Instance.ChangeInputSchema(schemaToRestore); // restore input
|
||||||
RestoreInput(schemaToRestore);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Proxy.Instance.EventBus.Raise(new ActionBeltEnableEvent());
|
Proxy.Instance.EventBus.Raise(new ActionBeltEnableEvent());
|
||||||
Proxy.Instance.EventBus.Raise(new PlayerCommandGrantedEvent());
|
Proxy.Instance.EventBus.Raise(new PlayerCommandGrantedEvent());
|
||||||
|
Proxy.Instance.EventBus.Raise(new PlayerCameraStreamFocusEvent());
|
||||||
|
|
||||||
State = JourneyGameplayGateState.Open;
|
State = JourneyGameplayGateState.Open;
|
||||||
|
|
||||||
@ -73,15 +72,11 @@ namespace Intrepid.Gameplay.Journey.Runtime.Gameplay
|
|||||||
|
|
||||||
Proxy.Instance.EventBus.Raise(new ActionBeltEnableEvent());
|
Proxy.Instance.EventBus.Raise(new ActionBeltEnableEvent());
|
||||||
Proxy.Instance.EventBus.Raise(new PlayerCommandGrantedEvent());
|
Proxy.Instance.EventBus.Raise(new PlayerCommandGrantedEvent());
|
||||||
|
Proxy.Instance.EventBus.Raise(new PlayerCameraStreamFocusEvent());
|
||||||
|
|
||||||
State = JourneyGameplayGateState.Open;
|
State = JourneyGameplayGateState.Open;
|
||||||
|
|
||||||
DLogger.LogDebug("opened gameplay for boot.", ctx: this);
|
DLogger.LogDebug("opened gameplay for boot.", ctx: this);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void RestoreInput(InputSchema inputSchema)
|
|
||||||
{
|
|
||||||
InputService.Instance.ChangeInputSchema(inputSchema);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: fc25591fe52e495aac7cf356196678e7
|
|
||||||
timeCreated: 1780997469
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Core.Themes;
|
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class DiegeticThemes : AbstractThemeRelated
|
|
||||||
{
|
|
||||||
public DiegeticThemes(Palettes palettes) : base(palettes)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public SignalTheme PlatformAware => new(Palettes);
|
|
||||||
public SignalTheme Interactable => new(Palettes);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6c93c4df53764b6fbc89877c5c32e7b1
|
|
||||||
timeCreated: 1746823279
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Core.Themes;
|
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class PDAThemes : AbstractThemeRelated
|
|
||||||
{
|
|
||||||
public PDAThemes(Palettes palettes) : base(palettes)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public UIWindowTheme AppTheme => new(Palettes);
|
|
||||||
public UIDialogMinimalTheme DialogTheme => new(Palettes);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: e21c739ab79c409da1fe4e64184b122e
|
|
||||||
timeCreated: 1746823232
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Core.Themes;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class SignalTheme : AbstractThemeRelated
|
|
||||||
{
|
|
||||||
public SignalTheme(Palettes palettes) : base(palettes)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public Color Selected => Palettes.Bundle.Interactable.Selected;
|
|
||||||
public Color Available => Palettes.Bundle.Interactable.Available;
|
|
||||||
public Color Clicked => Palettes.Bundle.Interactable.Clicked;
|
|
||||||
public Color Denied => Palettes.Bundle.Interactable.Denied;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: e9b9d5d11f484cd085ddf2af58276b8f
|
|
||||||
timeCreated: 1746823304
|
|
||||||
@ -1,35 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Core.Themes;
|
|
||||||
using Intrepid.Localization;
|
|
||||||
using Intrepid.Utilities;
|
|
||||||
using Sirenix.OdinInspector;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
[CreateAssetMenu(fileName = "Theme", menuName = "GON/Theme/Theme Collection")]
|
|
||||||
public class Theme : SOIdentification
|
|
||||||
{
|
|
||||||
[GroupConfigurations, SerializeField] private LocalizationTag localizationName;
|
|
||||||
[GroupConfigurations, SerializeField] private LocalizationTag localizationDescription;
|
|
||||||
|
|
||||||
[GroupConfigurations, SerializeField, Range(0, 1)] private float actionBeltAlpha = .5f;
|
|
||||||
|
|
||||||
[GroupConfigurations("Palettes"), SerializeField, HideLabel, InlineProperty, PropertySpace] private Palettes palettes;
|
|
||||||
|
|
||||||
[GroupDebug, Button(ButtonSizes.Medium, ButtonStyle.FoldoutButton)]
|
|
||||||
private void ApplyPalette(string main)
|
|
||||||
{
|
|
||||||
Palettes.Bundle.TryApplyPalette(main);
|
|
||||||
}
|
|
||||||
|
|
||||||
public LocalizationTag LocalizationName => localizationName;
|
|
||||||
public LocalizationTag LocalizationDescription => localizationDescription;
|
|
||||||
public Color[] Summary => Palettes.Bundle.Summary;
|
|
||||||
public Palettes Palettes => palettes;
|
|
||||||
public UIActionBeltTheme ActionBeltTheme => new(Palettes, actionBeltAlpha);
|
|
||||||
public DiegeticThemes DiegeticThemes => new(Palettes);
|
|
||||||
public PDAThemes PDAThemes => new(Palettes);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 5cd12e726ba14c03bbe0a23ec0579bf9
|
|
||||||
timeCreated: 1746805796
|
|
||||||
@ -1,24 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Utilities;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Themes
|
|
||||||
{
|
|
||||||
[DefaultExecutionOrder(GonConstants.ExecutionOrder.ASAP)]
|
|
||||||
public class ThemeManager : SingletonMonoBehaviour<ThemeManager>
|
|
||||||
{
|
|
||||||
[GroupConfigurations, SerializeField] private Theme defaultTheme;
|
|
||||||
[GroupDebug, SerializeField] private Theme currentTheme;
|
|
||||||
|
|
||||||
public Theme CurrentTheme
|
|
||||||
{
|
|
||||||
get => currentTheme.IsNotNull() ? currentTheme : defaultTheme;
|
|
||||||
set => currentTheme = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
|
||||||
{
|
|
||||||
SingletonInstantiation(false, _ => { });
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: e88ad932cb964e59ac59c76f5855e01b
|
|
||||||
timeCreated: 1745855687
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Core.Themes;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class UIActionBeltTheme : AbstractThemeRelated
|
|
||||||
{
|
|
||||||
private float Alpha { get; }
|
|
||||||
|
|
||||||
public UIActionBeltTheme(Palettes palettes, float alpha) : base(palettes)
|
|
||||||
{
|
|
||||||
Alpha = alpha;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Color TextColor => Palettes.Bundle.Contrast.Text;
|
|
||||||
public UIDialogMinimalTheme Local => new(Palettes);
|
|
||||||
public UIDialogMinimalTheme Main => new(Palettes, Alpha);
|
|
||||||
public UIDialogMinimalTheme Option => new(Palettes);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 4f71fa8608084f819e4ea39c91e0dd95
|
|
||||||
timeCreated: 1746823340
|
|
||||||
@ -1,24 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Core.Themes;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class UIGaugeTheme : AbstractThemeRelated
|
|
||||||
{
|
|
||||||
private Color counterFilling;
|
|
||||||
private Color filling;
|
|
||||||
|
|
||||||
public UIGaugeTheme(Palettes palettes, Color filling, Color counterFilling) : base(palettes)
|
|
||||||
{
|
|
||||||
Filling = filling;
|
|
||||||
CounterFilling = counterFilling;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Color BorderOut => Palettes.Bundle.Contrast.BorderOut;
|
|
||||||
public Color BorderIn => Palettes.Bundle.Contrast.BorderIn;
|
|
||||||
public Color CounterFilling { get; private set; }
|
|
||||||
public Color Filling { get; private set; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 627b26ef172d43b299984a240f2fcfb8
|
|
||||||
timeCreated: 1746823708
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Core.Themes;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class UIIconTheme : AbstractThemeRelated
|
|
||||||
{
|
|
||||||
public UIIconTheme(Palettes palettes) : base(palettes)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public Color Border => Palettes.Bundle.Contrast.BorderOut;
|
|
||||||
public Color Background => Palettes.Bundle.Contrast.Background;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 3fa35f492b5446be86e25f6eeb8ecf1a
|
|
||||||
timeCreated: 1746824475
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
using System;
|
|
||||||
using Intrepid.Core.Themes;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Intrepid.Gameplay.Themes
|
|
||||||
{
|
|
||||||
[Serializable]
|
|
||||||
public class UIPowerDemandedTheme : AbstractThemeRelated
|
|
||||||
{
|
|
||||||
public UIPowerDemandedTheme(Palettes palettes) : base(palettes)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
public Color PenMin { get; } = Color.green;
|
|
||||||
public Color PenMax { get; } = Color.red;
|
|
||||||
public Color Marks { get; } = Color.gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a65412ffc8a546ac9f910498e74ae916
|
|
||||||
timeCreated: 1746824765
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
using Intrepid.Core.Camera.Events;
|
|
||||||
using Intrepid.GameManagers;
|
|
||||||
using Intrepid.Gameplay.Entities.Player.Sentinel;
|
|
||||||
using Intrepid.Utilities;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Temporary
|
|
||||||
{
|
|
||||||
public class TempBoot : MonoBehaviour
|
|
||||||
{
|
|
||||||
[GroupInjections, SerializeField] private SentinelCameraManager sentinelCameraManager;
|
|
||||||
|
|
||||||
private void Start()
|
|
||||||
{
|
|
||||||
Proxy.Instance.EventBus.Raise(new CameraStreamChangeEvent
|
|
||||||
{
|
|
||||||
CameraStreamStack = sentinelCameraManager.CameraStreamStack,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: ac53c8636cb545aeab1bbbc77d4f3346
|
|
||||||
timeCreated: 1780996639
|
|
||||||
Loading…
x
Reference in New Issue
Block a user