Skip to content

Commit

Permalink
Movable and resizable panels (RE-SS3D#1288)
Browse files Browse the repository at this point in the history
* Add panel plugin

* CursorHandler

* Make more space, make enabling/disabling work on panels

* Change grid depending on its size

* change menu width

* Add cursor handler (again), change values a bit

* Fix object object ghost

* Add debug

* Remove debug

* Change AssetGridManager namesapace, add a little more doc

---------

Co-authored-by: Mechar418 <[email protected]>
  • Loading branch information
iamteapot422 and iamteapot422 authored Nov 2, 2023
1 parent 8a69d76 commit ebb74b2
Show file tree
Hide file tree
Showing 81 changed files with 8,614 additions and 123 deletions.
310 changes: 201 additions & 109 deletions Assets/Content/Systems/UI/Lobby/Canvas/PlayerCanvas.prefab

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ RectTransform:
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: -224.96143, y: 322.66217}
m_SizeDelta: {x: 170.0795, y: 238.238}
m_SizeDelta: {x: 180, y: 238.238}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6060677056020711314
CanvasRenderer:
Expand Down Expand Up @@ -3242,6 +3242,7 @@ GameObject:
m_Component:
- component: {fileID: 2180168398058430789}
- component: {fileID: 4686284081446859306}
- component: {fileID: 5112122915852808111}
m_Layer: 5
m_Name: Content
m_TagString: Untagged
Expand Down Expand Up @@ -3294,6 +3295,18 @@ MonoBehaviour:
m_Spacing: {x: 5, y: 5}
m_Constraint: 1
m_ConstraintCount: 2
--- !u!114 &5112122915852808111
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6243703131314193102}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ca78eb30848a4fe40b2c16cdfff48e37, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &6321497670735554424
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -3705,7 +3718,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &4235739587677223029
RectTransform:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -3808,7 +3821,7 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 2287788854832640797}
m_HandleRect: {fileID: 3379647602017452814}
m_Direction: 2
m_Value: 0
m_Value: 1
m_Size: 1
m_NumberOfSteps: 0
m_OnValueChanged:
Expand Down Expand Up @@ -4380,7 +4393,7 @@ RectTransform:
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -0.000030517578, y: -0.00018310547}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
Expand Down
8 changes: 8 additions & 0 deletions Assets/Scripts/External/DynamicPanels.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Assets/Scripts/External/DynamicPanels/Cursors.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Loading

0 comments on commit ebb74b2

Please sign in to comment.