コード例 #1
0
        protected override void onStartWalk()
        {
            base.onStartWalk();
            Vector3 despoint = AIComponentHelper.getRandomPoint(this._centerPoint, this._roamRadius, this._minRoamDis);

            startWalk(despoint);
        }
コード例 #2
0
        protected override void onSpecialRoam()
        {
            Vector3 despoint = AIComponentHelper.getRandomPoint(this._centerPoint, this._roamRadius, this._minRoamDis);

            despoint.Set(despoint.x, despoint.y + 1F, despoint.z);
            startWalk(despoint);
        }