public override void ControllerStart(UIModuleBase module) { base.ControllerStart(module); _module.FindCurrentModuleWidget("AccecptButton#") ._Button.onClick.AddListener(OnAccecptButtonClick); }
public override void ControllerStart(UIModuleBase module) { base.ControllerStart(module); _module.FindCurrentModuleWidget( "PlayerInputField#")._InputField.onEndEdit. AddListener(OnPlayerInputField); }
/// <summary> /// 控制器启动 /// </summary> /// <param name="module"></param> public override void ControllerStart(UIModuleBase module) { base.ControllerStart(module); _rectTransform = _module.GetComponent <RectTransform>(); ControllerInit(); TaskButtonDemoMethod(); AddListerDemo(); }