修改调试渲染逻辑和选中时效果
This commit is contained in:
@@ -177,7 +177,6 @@ namespace Spine
|
||||
// 拷贝调试属性
|
||||
EnableDebug = other.EnableDebug;
|
||||
DebugTexture = other.DebugTexture;
|
||||
DebugNonTexture = other.DebugNonTexture;
|
||||
DebugBounds = other.DebugBounds;
|
||||
DebugBones = other.DebugBones;
|
||||
DebugRegions = other.DebugRegions;
|
||||
@@ -253,15 +252,10 @@ namespace Spine
|
||||
/// </summary>
|
||||
public bool DebugTexture { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 是否显示非纹理内容, 一个总开关
|
||||
/// </summary>
|
||||
public bool DebugNonTexture { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// 显示包围盒
|
||||
/// </summary>
|
||||
public bool DebugBounds { get; set; } = true;
|
||||
public bool DebugBounds { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 显示骨骼
|
||||
@@ -864,7 +858,7 @@ namespace Spine
|
||||
else
|
||||
{
|
||||
if (DebugTexture) DrawTexture(target, states);
|
||||
if (DebugNonTexture) DrawNonTexture(target);
|
||||
DrawNonTexture(target);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user