using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class SecLayerBtn : MonoBehaviour { public Text nameText; public Button btn; // Start is called before the first frame update public void SetLayerBtnData(string name) { nameText.text = name; } }