목록2023/09/05 (1)
아카이브
[LearnUGUI] Input System
Input Field 생성하기 Input Field 스크립트 using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class Test02InputField : MonoBehaviour { private TMP_InputField input; // Start is called before the first frame update void Start() { this.input = this.GetComponentInChildren(); this.input.onValueChanged.AddListener((str) => { Debug.Log(str); }); } 실행화면
유니티 심화
2023. 9. 5. 18:11