public StatModifier(StatModifier mod) { ID = mod.ID; modify = mod.modify; Value = new FloatReference(mod.Value.Value); }
public DamageData(Transform damager, StatModifier stat) { Damager = damager; this.stat = new StatModifier(stat); }
public DamageData(GameObject damager, StatModifier stat) { Damager = damager; this.stat = new StatModifier(stat); }