18 lines
500 B
C#
18 lines
500 B
C#
|
using System;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using BITKit.WorldNode;
|
||
|
|
||
|
namespace Net.Project.B.WorldNode
|
||
|
{
|
||
|
[Serializable]
|
||
|
public class UnityNpcSpawnAreaNode : IWorldNode
|
||
|
{
|
||
|
public float spawnRadius = 20f; // 刷怪区域半径
|
||
|
public int maxSpawnPoints = 10; // 最大刷怪点数量
|
||
|
public float minDistanceBetweenSpawns = 5f; // 最小刷怪点间距
|
||
|
public float clearanceCheckDistance = 3f; // 空旷度检测半径
|
||
|
}
|
||
|
}
|
||
|
|