// Start is called before the first frame update void Start() { Zombie enemy = gameObject.GetComponent <Zombie>(); enemy.AddHealth(2); enemy.AddPoints(75); float s = 0.015f; enemy.Grow(s); }
// Start is called before the first frame update void Start() { Zombie enemy = gameObject.GetComponent <Zombie>(); enemy.AddSpeed(0.2F); enemy.AddPoints(25); float s = 0.005f; enemy.Grow(s); }
// Start is called before the first frame update void Start() { Zombie enemy = gameObject.GetComponent <Zombie>(); enemy.AddDamage(1); enemy.AddPoints(50); float s = 0.01f; enemy.Grow(s); }