// Start is called before the first frame update void Start() { inputs = new Shooter(); inputs.Enable(); inputs.Player.Move.performed += OnMovePerfomed; inputs.Player.Move.canceled += OnMoveCanceled; inputs.Player.Shoot.performed += OnShootPerformed; corps = GetComponent <Rigidbody2D>(); }
private void OnSetUpIdleUntilShoot() { Shooter.Enable(); subject.StartMovableEffect(); }