public PendingStatusEffect(string targetPrefabName, StatusEffectTarget targetFrom, StatusEffectTarget targetTo) { prefabTarget = targetPrefabName; this.targetFrom = targetFrom; this.targetTo = targetTo; }
public EffectsManager AddStatusEffect(string targetPrefabName, StatusEffectTarget targetFrom, StatusEffectTarget targetTo) { pendingStatusEffects.Add(new PendingStatusEffect(targetPrefabName, targetFrom, targetTo)); return(this); }