예제 #1
0
 public PendingStatusEffect(string targetPrefabName, StatusEffectTarget targetFrom, StatusEffectTarget targetTo)
 {
     prefabTarget    = targetPrefabName;
     this.targetFrom = targetFrom;
     this.targetTo   = targetTo;
 }
예제 #2
0
 public EffectsManager AddStatusEffect(string targetPrefabName, StatusEffectTarget targetFrom, StatusEffectTarget targetTo)
 {
     pendingStatusEffects.Add(new PendingStatusEffect(targetPrefabName, targetFrom, targetTo));
     return(this);
 }