diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index ad9395a..4f8f8c3 100644 --- a/Assets/Scenes/Main.unity +++ b/Assets/Scenes/Main.unity @@ -3331,7 +3331,7 @@ MonoBehaviour: m_StringArgument: m_BoolArgument: 0 m_CallState: 2 - - m_Target: {fileID: 184541034} + - m_Target: {fileID: 317863996} m_MethodName: SetActive m_Mode: 6 m_Arguments: @@ -3943,7 +3943,6 @@ RectTransform: - {fileID: 2105787743} - {fileID: 1800578778} - {fileID: 1927199758} - - {fileID: 1810516949} m_Father: {fileID: 0} m_RootOrder: 1 m_AnchorMin: {x: 0, y: 0} @@ -10056,8 +10055,6 @@ MonoBehaviour: label: {fileID: 1532595312} textEntry: {fileID: 578706384} translate: {fileID: 541516825} - bar: {fileID: 0} - debugLine: {fileID: 1810516950} --- !u!1 &1809194437 GameObject: m_ObjectHideFlags: 0 @@ -10165,66 +10162,6 @@ CanvasRenderer: type: 2} m_PrefabInternal: {fileID: 0} m_GameObject: {fileID: 1809194437} ---- !u!1 &1810516948 -GameObject: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - serializedVersion: 4 - m_Component: - - 224: {fileID: 1810516949} - - 222: {fileID: 1810516951} - - 114: {fileID: 1810516950} - m_Layer: 5 - m_Name: debug_line - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &1810516949 -RectTransform: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1810516948} - 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: 782282766} - m_RootOrder: 12 - m_AnchorMin: {x: .5, y: 0} - m_AnchorMax: {x: .5, y: 0} - m_AnchoredPosition: {x: 0, y: 365} - m_SizeDelta: {x: 456, y: 1} - m_Pivot: {x: .5, y: .5} ---- !u!114 &1810516950 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1810516948} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: -98529514, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 0, b: 0, a: 1} - m_Texture: {fileID: 0} - m_UVRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 ---- !u!222 &1810516951 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} - m_GameObject: {fileID: 1810516948} --- !u!1 &1813892961 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/UIManagerTextEntry.cs b/Assets/Scripts/UIManagerTextEntry.cs index 4b97365..02fa622 100644 --- a/Assets/Scripts/UIManagerTextEntry.cs +++ b/Assets/Scripts/UIManagerTextEntry.cs @@ -7,9 +7,6 @@ public class UIManagerTextEntry : UIManager { public GameObject label; public GameObject textEntry; public Button translate; - public GameObject bar; - - public RawImage debugLine; protected override void rebuild() { @@ -21,12 +18,6 @@ public class UIManagerTextEntry : UIManager { back.transform.position = new Vector3(dist, Screen.height - dist); } - // bar - { - bar.transform.localScale = new Vector3(base.scale, base.scale, 1); - bar.transform.position -= new Vector3(0, 100 * (1F - base.scale), 0); - } - float labelHeight = 187.5F * base.scale; float labelDist = labelHeight * 0.75F; @@ -53,8 +44,6 @@ public class UIManagerTextEntry : UIManager { float marginTop = labelBottom + margin; float marginBottom = barTop + translateHeight + (translateHeight / 2) + margin; - debugLine.transform.position = new Vector3(debugLine.transform.position.x, barTop, 0); - float height = Screen.height - marginTop - marginBottom; Vector2 size = textEntry.GetComponent().sizeDelta; -- libgit2 0.21.2