コード例 #1
0
ファイル: NPCController.cs プロジェクト: silantzis/quest
    void foundTarget(CRController other)
    {
        if (other)
        {
            if (_target)
                _target.deaggro(this);

            _target = other;
            _target.aggro(this);
            _controller.attack(_target);
        }
    }