protected override void Start() { base.Start(); rb = GetComponent <Rigidbody2D>(); sr = GetComponent <SpriteRenderer>(); speed = startSpeed; currentState = State.Moving; goldValue = EnemyScaler.ScaleGold(goldValue, Spawner.WaveIndex - 1); expAmount = EnemyScaler.ScaleExpValue(expAmount, Spawner.WaveIndex - 1); }
protected virtual void Start() { startingHealth = EnemyScaler.ScaleHealth(startingHealth, Spawner.WaveIndex - 1); health = startingHealth; }