protected override void onStartWalk() { base.onStartWalk(); Vector3 despoint = AIComponentHelper.getRandomPoint(this._centerPoint, this._roamRadius, this._minRoamDis); startWalk(despoint); }
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); }