public override void Spawn(EntityData d, Vector3 pos, float yaw, Actor instigator, Actor owner, Team team) { base.Spawn(d, pos, yaw, instigator, owner, team); map = new MapReveal() { position = new Vector2(pos.x, pos.z), radius = data.range, }; }
void Start() { tm = TerrainManager.instance; gm = GameManager.instance; mr = GameObject.FindObjectOfType <MapReveal> (); if (healthBar != null) { healthBar.UpdateBar(health, maxHealth); } ResetAugments(); }