using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using SpringGUI; using AX.TrackRecord; public class SetNameTextUI : MonoBehaviour { /// /// 设置文字脚本 /// private ColorPicker colorPicker; private InputField fieldAreaName; private Button CloseBtn; private Button SureBtn; private Slider SliderValue; private MainColorTape mainColorTape; public static SetNameTextUI instance = null; private void Awake() { if (instance == null) { instance = this; } } void Start () { SliderValue = transform.Find("Slider").GetComponent(); colorPicker = transform.Find("ColorPicker").GetComponent(); mainColorTape= transform.Find("ColorPicker/MainColor").GetComponent(); CloseBtn = transform.Find("Close").GetComponent