public void EndFrame() { if (stack == null) { stack = new Stack <ReadFrame>(); } LastFrameResult = CurrentFrame.ResultObject; if (stack.Count > 0) { CurrentFrame = stack.Pop(); } else { Ended = true; } }
private void Awake() { MainReadFrame = this; calibrationTime = 5; }