Commit 3d5ebe931ec5e18f14a539b617842a5136c44759

Authored by Mateus Lustosa
1 parent 43c57950
Exists in dict

Remove micro button dynamically on iOS

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
Assets/Scripts/UI/Resizers/BarResizer.cs
@@ -29,6 +29,8 @@ public class BarResizer : MonoBehaviour { @@ -29,6 +29,8 @@ public class BarResizer : MonoBehaviour {
29 29
30 else 30 else
31 this.barBottomLayout.spacing = 210; 31 this.barBottomLayout.spacing = 210;
  32 +
  33 + Destroy(microButton);
32 #else 34 #else
33 if (Screen.dpi < 140) 35 if (Screen.dpi < 140)
34 this.barBottomLayout.spacing = 48; 36 this.barBottomLayout.spacing = 48;