Exemple #1
0
 public StatModifier(StatModifier mod)
 {
     ID     = mod.ID;
     modify = mod.modify;
     Value  = new FloatReference(mod.Value.Value);
 }
Exemple #2
0
 public DamageData(Transform damager, StatModifier stat)
 {
     Damager   = damager;
     this.stat = new StatModifier(stat);
 }
Exemple #3
0
 public DamageData(GameObject damager, StatModifier stat)
 {
     Damager   = damager;
     this.stat = new StatModifier(stat);
 }