using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class MainTile : UIController { [SerializeField] List text; // Start is called before the first frame update public void init(string name) { var Str = name.Split(','); for (int i = 0; i < Str.Length; i++) { text[i].text = Str[i]; } } }