Emergency backup

This commit is contained in:
2023-11-28 09:20:50 +08:00
parent f67b26667b
commit 1910b0e3f7
6 changed files with 849 additions and 114 deletions
+6 -1
View File
@@ -57,6 +57,11 @@ namespace XericLibrary.Runtime.CollisionLOD
/// </summary>
public Bounds BoundSize;
/// <summary>
/// 启用轴向
/// </summary>
public Bool3 EnableCollisionAxis = new Bool3(1,0,1);
/// <summary>
/// 碰撞器集合
/// </summary>
@@ -98,7 +103,7 @@ namespace XericLibrary.Runtime.CollisionLOD
private void MakeLevelLinearArray(List<LodColliderBase> genList)
{
genList.Sort();
int seqIndex = 0;
int seqIndex = 1;
foreach(var item in genList)
item.SeqLevels = seqIndex++;
}