Exemplo n.º 1
0
 private void setStatus(EnemyController ec)
 {
     SpecializationsManager.sm.equippedSlots[index].cooldown(SpecializationsManager.sm.ActiveSpecializations[index]);
     GameObject o = ParticleManager.pm.spawnEffect(ec.transform.position, this);
     target = ec;
     target.hullRef.gameObject.layer = LayerMask.NameToLayer("NonPlayer");
     Targeting.TG.tReturner -= setStatus;
     hacked = true;
     target.hacked = true;
     target.disableWeapons();
     timer = 0;
     active = false;
     Targeting.TG.cleanUpTargeting();
 }