protected override void Start() { base.Start(); varusW = GetComponent <Varus_W>(); AbilityDebuffs = new AbilityBuff[] { gameObject.AddComponent <Varus_E_Debuff>() }; }
public void SetupEntity(Varus_R ability, Unit affectedUnit, Varus_W varusW, List <Unit> alreadyAffectedUnits, List <Varus_R_Entity> varusREntitiesCurrentlySpreading) { this.ability = ability; this.affectedUnit = affectedUnit; this.varusW = varusW; this.alreadyAffectedUnits = alreadyAffectedUnits; this.varusREntitiesCurrentlySpreading = varusREntitiesCurrentlySpreading; ApplyAbilityEffectToAffectedUnit(affectedUnit); varusREntitiesCurrentlySpreading.Add(this); }