void Dast(bool inputDast, float horizontal) { if (inputDast && !isWall) { Vector2 direction = transform.localScale.x > 0 ? transform.right.normalized : -transform.right.normalized; spriteEffect.StartEffect(direction); } }
void Dast(bool inputDast, float horizontal) { if (inputDast && !isWall) { Vector2 direction = transform.localScale.x > 0 ? transform.right.normalized : -transform.right.normalized; spriteEffect.StartEffect(direction); } }