// Use this for initialization void Start() { startPosition = transform.position; if (GetComponent <AggroMimic>() != null) { startDelay = GetComponent <AggroMimic> ().getUpDelay; startGroup = GetComponent <AggroMimic> ().aggGroup; } GameManager.instance.OnHeroRespawn += Reset; }
public DeadGuyToRespawn(Vector3 pos, EnemyID id, AggroGroup g, float delay) { iidd = id; groupWith = g; spawnHere = pos; }