ILRTime中添加委托

 点击按钮长按的方法的委托注册到ILRT的dll中

        appdomain.DelegateManager.RegisterDelegateConvertor<UIEventListener.BoolDelegate>((act) =>
        {
            return new UIEventListener.BoolDelegate((go, state) =>
            {
                ((System.Action<UnityEngine.GameObject, System.Boolean>)act)(go, state);
            });
        });

 

相关文章:

  • 2022-12-23
  • 2021-06-19
  • 2022-12-23
  • 2021-08-08
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-13
  • 2022-12-23
  • 2021-07-21
  • 2022-02-04
  • 2021-04-27
  • 2021-12-13
  • 2021-08-28
相关资源
相似解决方案