void SetupRankTargets() { HudTargetor newTarget = Instantiate(targetorEnemy); newTarget.focus = turnee; newTarget.transform.SetParent(mainCanvas.transform); activeTargets.Add(newTarget); }
void SetupTargets() { foreach (Battler i in GetValidTargets()) { HudTargetor newTarget = Instantiate(targetorEnemy); newTarget.focus = i; newTarget.transform.SetParent(mainCanvas.transform); activeTargets.Add(newTarget); } }