Esempio n. 1
0
    private void Start()
    {
        player = Game_SongLoader.loader;

        arrayImage = GetComponentsInChildren <Image>();
        arrayText  = GetComponentsInChildren <Text>();

        foreach (Image x in arrayImage)
        {
            x.gameObject.SetActive(false);
        }
        foreach (Text x in arrayText)
        {
            x.gameObject.SetActive(false);
        }
    }
Esempio n. 2
0
 private void Awake()
 {
     loader = this;
 }