Suspends the coroutine execution until the supplied delegate evaluates to true.
static public int constructor(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.WaitUntil o; System.Func <System.Boolean> a1; checkDelegate(l, 2, out a1); o = new UnityEngine.WaitUntil(a1); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
static public int get_keepWaiting(IntPtr l) { try { #if DEBUG var method = System.Reflection.MethodBase.GetCurrentMethod(); string methodName = GetMethodName(method); #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.BeginSample(methodName); #else Profiler.BeginSample(methodName); #endif #endif UnityEngine.WaitUntil self = (UnityEngine.WaitUntil)checkSelf(l); pushValue(l, true); pushValue(l, self.keepWaiting); return(2); } catch (Exception e) { return(error(l, e)); } #if DEBUG finally { #if UNITY_5_5_OR_NEWER UnityEngine.Profiling.Profiler.EndSample(); #else Profiler.EndSample(); #endif } #endif }
// fields // properties static void WaitUntil_keepWaiting(JSVCall vc) { UnityEngine.WaitUntil _this = (UnityEngine.WaitUntil)vc.csObj; var result = _this.keepWaiting; JSApi.setBooleanS((int)JSApi.SetType.Rval, (System.Boolean)(result)); }
static public int get_keepWaiting(IntPtr l) { try { UnityEngine.WaitUntil self = (UnityEngine.WaitUntil)checkSelf(l); pushValue(l, true); pushValue(l, self.keepWaiting); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { UnityEngine.WaitUntil o; System.Func<System.Boolean> a1; LuaDelegation.checkDelegate(l,2,out a1); o=new UnityEngine.WaitUntil(a1); pushValue(l,true); pushValue(l,o); return 2; } catch(Exception e) { return error(l,e); } }
static public int constructor(IntPtr l) { try { UnityEngine.WaitUntil o; System.Func <System.Boolean> a1; LuaDelegation.checkDelegate(l, 2, out a1); o = new UnityEngine.WaitUntil(a1); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }