Merge branch 'dev-ali'

dev-hazim
Ali Sharoz 4 weeks ago
commit 34c7752f5c

@ -319,10 +319,10 @@ RectTransform:
- {fileID: 6241419998704153939}
m_Father: {fileID: 3836680553957237325}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -52, y: 0}
m_SizeDelta: {x: 603, y: 59}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -60.000004, y: 0}
m_SizeDelta: {x: -350, y: 59}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6575897470725094979
CanvasRenderer:
@ -398,11 +398,11 @@ RectTransform:
- {fileID: 3378793769076205834}
m_Father: {fileID: 4839835837274309080}
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: 66}
m_SizeDelta: {x: 1020, y: 132}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 132}
m_Pivot: {x: 0.5, y: 0}
--- !u!222 &691146611290908664
CanvasRenderer:
m_ObjectHideFlags: 0
@ -477,9 +477,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -123, y: 0}
m_AnchoredPosition: {x: -12, y: 0}
m_SizeDelta: {x: 212, y: 93}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &681785067451464997
CanvasRenderer:
m_ObjectHideFlags: 0
@ -753,10 +753,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 7170707772175478523}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 599, y: 59}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6493709502188346501
CanvasRenderer:
@ -966,9 +966,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: -123, y: 0}
m_AnchoredPosition: {x: -12, y: 0}
m_SizeDelta: {x: 212, y: 93}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 1, y: 0.5}
--- !u!222 &4628513960931928794
CanvasRenderer:
m_ObjectHideFlags: 0
@ -1043,9 +1043,9 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 73, y: 0}
m_AnchoredPosition: {x: 12, y: 0}
m_SizeDelta: {x: 85, y: 82}
m_Pivot: {x: 0.5, y: 0.5}
m_Pivot: {x: 0, y: 0.5}
--- !u!222 &6328997557253175357
CanvasRenderer:
m_ObjectHideFlags: 0
@ -1117,11 +1117,11 @@ RectTransform:
- {fileID: 3836680553957237325}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 42.27}
m_SizeDelta: {x: 1020, y: 216}
m_Pivot: {x: 0.5, y: 0.5}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 1080, y: 216}
m_Pivot: {x: 0, y: 1}
--- !u!114 &529593948205503092
MonoBehaviour:
m_ObjectHideFlags: 0

File diff suppressed because it is too large Load Diff

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2d05f5f40401ba44ea2601a09bc3eea9
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

@ -0,0 +1,15 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelGroupButtonFixer : MonoBehaviour
{
public List<LevelGroupButton> buttons;
public void UIUpdater()
{
for(int i=0;i<buttons.Count; i++)
{
buttons[i].UpdateUI();
}
}
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e2ef7555cce4cff4d96847db2db42125
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

@ -43,16 +43,13 @@ public class LevelGroupButton : MonoBehaviour
}
IEnumerator OnPlayButtonPressedDelayed()
{
yield return new WaitForSeconds(1f);
yield return new WaitForSeconds(0.1f);
HomeScene.instance.OnPlayButtonPressed.AddListener(() =>
{
//HomeScene.instance.OnPlayButtonPressed.RemoveAllListeners();
UpdateUI();
});
}
private void Update()
{
}
[ContextMenu("UpdateUI")]
public void UpdateUI()
{

Loading…
Cancel
Save