Exemplo n.º 1
0
 public PlayerModel(IPlayerFactory playerFactory)
 {
     playerFactory.CreatePlayer();
     _characterController = playerFactory.GetCharacterController();
     _transform           = playerFactory.GetTransform();
     _camera   = playerFactory.GetCamera();
     _animator = playerFactory.GetAnimator();
 }