예제 #1
0
 private void TryMoveBlock(Vector3Int direction)
 {
     if (_motionController.TryMoveBlock(direction))
     {
         _audioController.ReportEvent(EAudioEventType.BlockMovedByPlayer);
     }
 }
        public bool TryApplyGravity(float deltaTime)
        {
            _delay += deltaTime;

            if (_delay < _movementDelay)
            {
                return(true);
            }

            _delay -= _movementDelay;

            return(_blockMotion.TryMoveBlock(Vector3Int.down));
        }