Exemple #1
0
 // 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;
 }
Exemple #2
0
 public DeadGuyToRespawn(Vector3 pos, EnemyID id, AggroGroup g, float delay)
 {
     iidd      = id;
     groupWith = g;
     spawnHere = pos;
 }