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);
    }
Example #3
0
 /// <summary>
 /// 控制器启动
 /// </summary>
 /// <param name="module"></param>
 public override void ControllerStart(UIModuleBase module)
 {
     base.ControllerStart(module);
     _rectTransform = _module.GetComponent <RectTransform>();
     ControllerInit();
     TaskButtonDemoMethod();
     AddListerDemo();
 }