SecLayerBtn.cs 342 B

123456789101112131415161718
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. public class SecLayerBtn : MonoBehaviour
  6. {
  7. public Text nameText;
  8. public Button btn;
  9. // Start is called before the first frame update
  10. public void SetLayerBtnData(string name)
  11. {
  12. nameText.text = name;
  13. }
  14. }