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