diff --git a/Client/Assets/1_Script/ImgaeSizeSet.cs b/Client/Assets/1_Script/ImgaeSizeSet.cs index 758303f8..3e4a2935 100644 --- a/Client/Assets/1_Script/ImgaeSizeSet.cs +++ b/Client/Assets/1_Script/ImgaeSizeSet.cs @@ -1,3 +1,4 @@ +using MEC; using System.Collections; using System.Collections.Generic; using Unity.VisualScripting; @@ -9,6 +10,11 @@ public class ImgaeSizeSet : MonoBehaviour private void Start() { + Timing.RunCoroutine(ImageSet()); + } + private IEnumerator ImageSet() + { + yield return Timing.WaitForSeconds(0.1f); RectTransform rt = gameObject.GetComponent(); RectTransform changeRt = gameObject.GetComponentsInChildren()[1]; float sizeSet = (rt.sizeDelta.y / 2) - 10;