mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 01:48:07 +08:00
Update UIFactory.cs
This commit is contained in:
1 parent
508ca27ec2
commit
17ee92479c
1 file changed
+1
-5
+1
-5
@@ -9,10 +9,6 @@ namespace ExplorerBeta.UI
|
||||
{
|
||||
public static class UIFactory
|
||||
{
|
||||
//private const float kWidth = 160f;
|
||||
//private const float kThickHeight = 30f;
|
||||
//private const float kThinHeight = 20f;
|
||||
|
||||
private static Vector2 s_ThickElementSize = new Vector2(160f, 30f);
|
||||
private static Vector2 s_ThinElementSize = new Vector2(160f, 20f);
|
||||
//private static Vector2 s_ImageElementSize = new Vector2(100f, 100f);
|
||||
@@ -80,7 +76,7 @@ namespace ExplorerBeta.UI
|
||||
Transform transform = go.transform;
|
||||
for (int i = 0; i < transform.childCount; i++)
|
||||
{
|
||||
DefaultControls.SetLayerRecursively(transform.GetChild(i).gameObject, 5);
|
||||
SetLayerRecursively(transform.GetChild(i).gameObject, 5);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user