コード例 #1
0
    private void OnAttack()
    {
        Unit target = TargetResearcher.Find(Data.AttackType, !IsMyTeam);

        if (target == null)
        {
            OnAttackSummoner();
            return;
        }

        target.OnAttacked(this);
        AttackCool = 0;
    }
コード例 #2
0
ファイル: TargetResearcher.cs プロジェクト: RHF01369/DS
 private TargetResearcher()
 {
     targetResearcher = this;
 }