public StateBasicEnemyAir(BasicEnemy _p, float _speedX=-1) { p = _p; speedX = _speedX; if (speedX != -1) p.rb().velocity = new Vector3(speedX, p.rb().velocity.y, 0); }