예제 #1
0
 public Weapon(WeaponInfo info, Damager holder)
 {
     this.info   = info;
     this.holder = holder;
     holder.AddBeforeAttackEvent(OnBeforeAttack);
     holder.AddOnAttackEvent(OnAttack);
     holder.AddAfterAttackEvent(OnAfterAttack);
 }