public void Reset() { Clear(); if (NextArrowManager != null) { NextArrowManager.Reset(); } }
void Start() { _inputManager.IsUpdate.Skip(1).Where(x => x).Subscribe(_ => { switch (_inputManager.LastInput) { case InputManager.InputType.Left: _arrowManager.Generate(Arrow.Type.Left); break; case InputManager.InputType.Right: _arrowManager.Generate(Arrow.Type.Right); break; case InputManager.InputType.None: _arrowManager.Reset(); break; } }).AddTo(this); }