public static int set_onPostRender_wrap(long L) { try { TestCallback_deletate func = FCDelegateMng.Instance.GetDelegate <TestCallback_deletate>(L); if (func != null) { TestExport.onPostRender = func.CallFunc; } else { TestExport.onPostRender = null; } FCDelegateMng.Instance.RecordDelegate(TestExport.onPostRender, func); } catch (Exception e) { Debug.LogException(e); } return(0); }
public static int set_onOwnPostRender_wrap(long L) { try { TestCallback_deletate func = FCDelegateMng.Instance.GetDelegate <TestCallback_deletate>(L); long nThisPtr = FCLibHelper.fc_get_inport_obj_ptr(L); TestExport ret = get_obj(nThisPtr); if (func != null) { ret.onOwnPostRender = func.CallFunc; } else { ret.onOwnPostRender = null; } FCDelegateMng.Instance.RecordDelegate(ret.onOwnPostRender, func); } catch (Exception e) { Debug.LogException(e); } return(0); }