public static UnityEngine.Camera.CameraCallback Camera_onPreRender_GetDelegate_member1_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <UnityEngine.Camera.CameraCallback>(objFunction.jsObjID); if (action == null) { action = (cam) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, cam); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
// fields // properties public static UnityEngine.CullingGroup.StateChanged CullingGroup_onStateChanged_GetDelegate_member0_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <UnityEngine.CullingGroup.StateChanged>(objFunction.jsObjID); if (action == null) { action = (sphere) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, sphere); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static UnityEngine.Application.AdvertisingIdentifierCallback Application_RequestAdvertisingIdentifierAsync_GetDelegate_member16_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <UnityEngine.Application.AdvertisingIdentifierCallback>(objFunction.jsObjID); if (action == null) { action = (advertisingId, trackingEnabled, errorMsg) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, advertisingId, trackingEnabled, errorMsg); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static DG.Tweening.TweenCallback TweenParams_OnComplete_GetDelegate_member1_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <DG.Tweening.TweenCallback>(objFunction.jsObjID); if (action == null) { action = () => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static TweenCallback <System.Single> DOVirtual_Float_GetDelegate_member5_arg3(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <TweenCallback <System.Single> >(objFunction.jsObjID); if (action == null) { action = (value) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, value); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static TweenCallback <System.Int32> TweenParams_OnWaypointChange_GetDelegate_member8_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <TweenCallback <System.Int32> >(objFunction.jsObjID); if (action == null) { action = (value) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, value); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static UnityEngine.AudioClip.PCMReaderCallback AudioClip_Create_GetDelegate_member3_arg6(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <UnityEngine.AudioClip.PCMReaderCallback>(objFunction.jsObjID); if (action == null) { action = (data) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, data); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static UnityEngine.Display.DisplaysUpdatedDelegate Display_remove_onDisplaysUpdated_GetDelegate_member3_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <UnityEngine.Display.DisplaysUpdatedDelegate>(objFunction.jsObjID); if (action == null) { action = () => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static Action <UnityEngine.MonoBehaviour> APIExportTest_RemoveEvent_GetDelegate_member5_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <Action <UnityEngine.MonoBehaviour> >(objFunction.jsObjID); if (action == null) { action = (obj) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, obj); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static System.Action APIExportTest_OnDelegateFinish_GetDelegate_member1_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <System.Action>(objFunction.jsObjID); if (action == null) { action = () => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
////////////////////// DOVirtual /////////////////////////////////////// // constructors // fields // properties // methods public static DG.Tweening.TweenCallback DOVirtual_DelayedCall_GetDelegate_member0_arg1(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <DG.Tweening.TweenCallback>(objFunction.jsObjID); if (action == null) { action = () => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
// methods public static UnityEngine.AudioSettings.AudioConfigurationChangeHandler AudioSettings_add_OnAudioConfigurationChanged_GetDelegate_member0_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <UnityEngine.AudioSettings.AudioConfigurationChangeHandler>(objFunction.jsObjID); if (action == null) { action = (deviceWasChanged) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, deviceWasChanged); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static UnityEngine.Application.LogCallback Application_remove_logMessageReceivedThreaded_GetDelegate_member15_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <UnityEngine.Application.LogCallback>(objFunction.jsObjID); if (action == null) { action = (condition, stackTrace, type) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, condition, stackTrace, type); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static Action <UnityEngine.Font> Font_remove_textureRebuilt_GetDelegate_member9_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <Action <UnityEngine.Font> >(objFunction.jsObjID); if (action == null) { action = (obj) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, obj); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static DG.Tweening.EaseFunction TweenParams_SetEase_GetDelegate_member13_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <DG.Tweening.EaseFunction>(objFunction.jsObjID); if (action == null) { action = (time, duration, overshootOrAmplitude, period) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, time, duration, overshootOrAmplitude, period); return((System.Single)JSApi.getSingle((int)JSApi.GetType.JSFunRet)); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static System.Text.RegularExpressions.MatchEvaluator Regex_Replace_GetDelegate_member34_arg2(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <System.Text.RegularExpressions.MatchEvaluator>(objFunction.jsObjID); if (action == null) { action = (match) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, match); return((System.String)JSApi.getStringS((int)JSApi.GetType.JSFunRet)); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
public static Predicate <T> HashSetA1_RemoveWhere_GetDelegate_member17_arg0 <T>(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <Predicate <T> >(objFunction.jsObjID); if (action == null) { action = (obj) => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID, obj); return((System.Boolean)JSApi.getBooleanS((int)JSApi.GetType.JSFunRet)); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }
////////////////////// WaitWhile /////////////////////////////////////// // constructors public static Func <System.Boolean> WaitWhile__ctor_GetDelegate_member0_arg0(CSRepresentedObject objFunction) { if (objFunction == null || objFunction.jsObjID == 0) { return(null); } var action = JSMgr.getJSFunCSDelegateRel <Func <System.Boolean> >(objFunction.jsObjID); if (action == null) { action = () => { JSMgr.vCall.CallJSFunctionValue(0, objFunction.jsObjID); return((System.Boolean)JSApi.getBooleanS((int)JSApi.GetType.JSFunRet)); }; JSMgr.addJSFunCSDelegateRel(objFunction.jsObjID, action); } return(action); }