コード例 #1
0
 static int SetPlayEndCallBack(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         CEffectSprite obj  = (CEffectSprite)ToLua.CheckObject <CEffectSprite>(L, 1);
         OnSkillEnd    arg0 = (OnSkillEnd)ToLua.CheckDelegate <OnSkillEnd>(L, 2);
         object        arg1 = ToLua.ToVarObject(L, 3);
         obj.SetPlayEndCallBack(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
コード例 #2
0
 public void OnSkillEndNotify()
 {
     OnSkillEnd?.Invoke(this, EventArgs.Empty);
 }