Skip to content

Commit

Permalink
fixing ui layout in unity
Browse files Browse the repository at this point in the history
  • Loading branch information
adelama committed Sep 14, 2022
1 parent fd722d2 commit 2935647
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
21 changes: 9 additions & 12 deletions UnityProject/Assets/Scenes/TapMatchScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 576}
m_AnchoredPosition: {x: 0, y: 152.99994}
m_SizeDelta: {x: 160, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &232300791
Expand Down Expand Up @@ -756,7 +756,7 @@ RectTransform:
m_GameObject: {fileID: 467902190}
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_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1511016476}
Expand Down Expand Up @@ -958,7 +958,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 382.59998}
m_AnchoredPosition: {x: 0, y: -40.400085}
m_SizeDelta: {x: 240.876, y: 131.09497}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &565423542
Expand Down Expand Up @@ -1128,8 +1128,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 400, y: -709.83606}
m_SizeDelta: {x: 100, y: 100}
m_AnchoredPosition: {x: 169.0531, y: -300}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &599656490
MonoBehaviour:
Expand Down Expand Up @@ -1789,7 +1789,7 @@ MonoBehaviour:
m_ChildAlignment: 4
m_StartCorner: 0
m_StartAxis: 0
m_CellSize: {x: 100, y: 100}
m_CellSize: {x: 50, y: 50}
m_Spacing: {x: 10, y: 10}
m_Constraint: 1
m_ConstraintCount: 1
Expand Down Expand Up @@ -1883,7 +1883,7 @@ MonoBehaviour:
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_MatchWidthOrHeight: 1
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
Expand Down Expand Up @@ -1972,7 +1972,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 929}
m_AnchoredPosition: {x: 0, y: 506}
m_SizeDelta: {x: 160, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1511016477
Expand Down Expand Up @@ -2368,9 +2368,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 834c31555033c3a4a9c8e64982896348, type: 3}
m_Name:
m_EditorClassIdentifier:
levelWidth: 5
levelHeight: 5
levelNumberOfColors: 3
levelController: {fileID: 1733100487}
--- !u!4 &1733100486
Transform:
Expand Down Expand Up @@ -2516,7 +2513,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 748.99994}
m_AnchoredPosition: {x: 0, y: 325.99988}
m_SizeDelta: {x: 160, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1998922737
Expand Down
8 changes: 8 additions & 0 deletions UnityProject/Assets/StreamingAssets.meta

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

4 changes: 2 additions & 2 deletions UnityProject/ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ PlayerSettings:
m_SplashScreenLogos: []
m_VirtualRealitySplashScreen: {fileID: 0}
m_HolographicTrackingLossScreen: {fileID: 0}
defaultScreenWidth: 720
defaultScreenHeight: 1027
defaultScreenWidth: 480
defaultScreenHeight: 720
defaultScreenWidthWeb: 960
defaultScreenHeightWeb: 600
m_StereoRenderingPath: 0
Expand Down

0 comments on commit 2935647

Please sign in to comment.