We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c951f commit 2bcaebdCopy full SHA for 2bcaebd
Assets/Scripts/Presenter/MusicSelector/FileListItem.cs
@@ -30,8 +30,6 @@ public class FileListItem : MonoBehaviour
30
31
void Awake()
32
{
33
- GetComponent<RectTransform>().localScale = Vector3.one;
34
-
35
var text = GetComponentInChildren<Text>();
36
var image = GetComponent<Image>();
37
@@ -41,6 +39,11 @@ void Awake()
41
39
.AddTo(this);
42
40
}
43
+ void Start()
+ {
44
+ GetComponent<RectTransform>().localScale = Vector3.one;
45
+ }
46
+
47
public void SetInfo(FileItemInfo info)
48
49
fileItemInfo = info;
0 commit comments