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