private void doing() { if (_currentFastMove == null || _listCount == 0) { return; } _deltaTime = Time.deltaTime; while (!_toNextFrame) { if (_currentFastMove.Doing(_deltaTime) == false) { _toNextFrame = stopCurrent(); } else { _toNextFrame = beginNext(); } _frameHandleIndex += 1; if (_frameHandleIndex == FrameHandleCount) { _toNextFrame = true; } } _frameHandleIndex = 0; _toNextFrame = false; }
static public int Doing(IntPtr l) { try { FastAction.FastMove self = (FastAction.FastMove)checkSelf(l); System.Single a1; checkType(l, 2, out a1); var ret = self.Doing(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }