using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; //用户操作窗口 public class OperateUserWindowCtrl : MonoBasePanel { InputField userInput; InputField passwordInput; InputField repeatPasswordInput; //取消按钮 Button cancelButton; //添加按钮 Button addButton; //修改按钮 Button changeButton; Text titleText;//窗口标题 Text promptText;//下方提示文字 //选择编辑模式时记录当前选择用户名 string cUser; MessagePrefabCtrl prefabCtrl1;//待修改的对象 UserType userType; // Start is called before the first frame update protected override void Start() { base.Start(); } protected override void InitComponent() { userInput = this.transform.Find("Image_bg/InputField_user").GetComponent(); passwordInput = this.transform.Find("Image_bg/InputField_pass").GetComponent(); repeatPasswordInput = this.transform.Find("Image_bg/InputField_repeatPass").GetComponent(); changeButton = this.transform.Find("Image_bg/Button_change").GetComponent