public void Init() { TryGetComponent(out shooting); TryGetComponent(out movement); movement.Init(); shooting.StartShooting(); }
/** * <summary>Starts the shooting part of the game</summary> **/ private void StartShooting() { gameState = GameStateEnum.Shooting; ArcherAnimator.State = ArcherAnimationStateEnum.Idle; ShootingController.StartShooting(); }
public void StartGame() { shooting.StartShooting(); }