예제 #1
0
 public MovementController(Rigidbody2D rigidbody2D, CharacterControllerData controllerData,
                           GameState state, Transform transform, AnimationController animationController)
 {
     _rigidbody2D         = rigidbody2D;
     _controllerData      = controllerData;
     _state               = state;
     _transform           = transform;
     _animationController = animationController;
 }
예제 #2
0
 public ShootingController(ProjectileFactory projectileFactory, Transform shootingPivot,
                           GameState state, IInputSystem inputSystem,
                           ProjectileDataContainer projectileDataContainer,
                           CharacterControllerData data,
                           Transform transform, Transform arm, AudioManager audioManager)
 {
     _projectileFactory       = projectileFactory;
     _shootingPivot           = shootingPivot;
     _state                   = state;
     _inputSystem             = inputSystem;
     _projectileDataContainer = projectileDataContainer;
     _data         = data;
     _transform    = transform;
     _arm          = arm;
     _audioManager = audioManager;
 }