コード例 #1
0
        public virtual void ProcessAttack(AttackData attackData)
        {
            IDamageReceiver damageReceiver = attackData.target as IDamageReceiver;

            damageReceiver.OnDamage(attackData);
        }
コード例 #2
0
 public void SetAttackData(AttackData data)
 {
     attackData = data;
 }