添加bool3,在inspecter中展示为横着的三个勾选框,但是保存为一个整数(๑•̀ㅂ•́)و✧

This commit is contained in:
2023-11-25 15:58:36 +08:00
parent 7cbe59ca14
commit f67b26667b
17 changed files with 494 additions and 20 deletions
+35
View File
@@ -0,0 +1,35 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XericLibrary.Runtime.Type;
namespace XericLibrary.Runtime.CollisionLOD
{
public class LodBoxCollider : LodColliderBase
{
#region 字段属性
/// <summary>
/// 启用轴向
/// </summary>
public Bool3 EnableCollisionAxis = new Bool3(1,0,1);
#endregion
#region 生命周期
#endregion
#region 碰撞检测
private bool CheckCollision()
{
return false;
}
#endregion
}
}