private void LateUpdate() { if (Time.time - _prevFallDelay > _gameStateModel.FallDelay) { _prevFallDelay = Time.time; Fell.SafeInvoke(); Debugger.Log(LogEntryCategory.Tetromino, $"Figure {gameObject.name} moved down"); } }
private void CheckForRamp() { if (_groundDetector.CheckGround(_inclineTolerance)) { ApplyGravity(); VertMovement(); } else if (_isGrounded == true) { _vertSpeed = 0; Fell.Invoke(); _isGrounded = false; //Debug.Log("Fell"); } }