Skip to content

Commit

Permalink
UI improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
inc8877 committed Apr 23, 2021
1 parent 6eac76e commit f0ea12a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 61 deletions.
80 changes: 21 additions & 59 deletions Resources/RightStatsMonitor.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ GameObject:
m_Component:
- component: {fileID: 347657964079713668}
- component: {fileID: 2478994870295797370}
- component: {fileID: 1349660970666911523}
- component: {fileID: 5868185528139508119}
m_Layer: 5
m_Name: holder
m_TagString: Untagged
Expand All @@ -33,7 +35,7 @@ RectTransform:
- {fileID: 8875935558695309436}
- {fileID: 8875935560091874573}
m_Father: {fileID: 8875935558490432179}
m_RootOrder: 1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
Expand All @@ -53,10 +55,10 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Padding:
m_Left: 10
m_Left: 12
m_Right: 0
m_Top: 0
m_Bottom: 0
m_Top: 3
m_Bottom: 3
m_ChildAlignment: 0
m_Spacing: 0
m_ChildForceExpandWidth: 1
Expand All @@ -66,58 +68,21 @@ MonoBehaviour:
m_ChildScaleWidth: 0
m_ChildScaleHeight: 0
m_ReverseArrangement: 0
--- !u!1 &7354525861271667670
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5954607058122675482}
- component: {fileID: 7939635240003495183}
- component: {fileID: 351774301136245279}
m_Layer: 5
m_Name: bg
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5954607058122675482
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7354525861271667670}
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_Children: []
m_Father: {fileID: 8875935558490432179}
m_RootOrder: 0
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 &7939635240003495183
--- !u!222 &1349660970666911523
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7354525861271667670}
m_GameObject: {fileID: 38949635530650448}
m_CullTransparentMesh: 1
--- !u!114 &351774301136245279
--- !u!114 &5868185528139508119
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7354525861271667670}
m_GameObject: {fileID: 38949635530650448}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
Expand All @@ -140,7 +105,7 @@ MonoBehaviour:
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 2.5
m_PixelsPerUnitMultiplier: 2
--- !u!1 &8875935558411196948
GameObject:
m_ObjectHideFlags: 0
Expand All @@ -153,7 +118,7 @@ GameObject:
- component: {fileID: 8875935558411196953}
- component: {fileID: 8875935558411196954}
m_Layer: 5
m_Name: FPS_ms
m_Name: FPS(ms)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down Expand Up @@ -238,9 +203,9 @@ MonoBehaviour:
m_fontSize: 25
m_fontSizeBase: 25
m_fontWeight: 400
m_enableAutoSizing: 0
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontSizeMax: 25
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
Expand Down Expand Up @@ -304,7 +269,6 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 5954607058122675482}
- {fileID: 347657964079713668}
m_Father: {fileID: 8875935559098112118}
m_RootOrder: 0
Expand Down Expand Up @@ -411,9 +375,9 @@ MonoBehaviour:
m_fontSize: 25
m_fontSizeBase: 25
m_fontWeight: 400
m_enableAutoSizing: 0
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontSizeMax: 25
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
Expand Down Expand Up @@ -515,9 +479,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: 'alloc
'
m_text: alloc
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
Expand Down Expand Up @@ -547,9 +509,9 @@ MonoBehaviour:
m_fontSize: 25
m_fontSizeBase: 25
m_fontWeight: 400
m_enableAutoSizing: 0
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontSizeMax: 25
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
Expand Down Expand Up @@ -803,9 +765,9 @@ MonoBehaviour:
m_fontSize: 25
m_fontSizeBase: 25
m_fontWeight: 400
m_enableAutoSizing: 0
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontSizeMax: 25
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.inc8877.right-stats-monitor",
"version": "1.0.2",
"version": "1.0.3",
"displayName": "RightStatsMonitor",
"description": "Useful tool for displaying FPS with high precision. GC free",
"dependencies": {
Expand All @@ -24,4 +24,4 @@
"url": "https://github.com/inc8877"
},
"license": "MIT"
}
}

0 comments on commit f0ea12a

Please sign in to comment.