Cross Track Point和Trail的进一步制作,修复Duplicate的Guid Bug

Ctrl+M切摄像机
This commit is contained in:
SoulliesOfficial
2025-03-01 00:28:26 -05:00
parent 210e594808
commit 191be59c3d
33 changed files with 790 additions and 1604 deletions

View File

@@ -102,10 +102,10 @@ namespace Ichni.RhythmGame
var currentRotText =
inspector.GenerateParameterText(this, container, "Current Rotation", nameof(currentEulerAngles), true);
if (attachedGameElement is PathNode pathNode) // 如果是PathNode显示法线方向
if (attachedGameElement is PathNode or Trail) // 如果是PathNode显示法线方向
{
var currentNormalText =
inspector.GenerateHintText(this, container, () => "Normal: " + pathNode.transform.forward);
inspector.GenerateHintText(this, container, () => "Normal: " + attachedGameElement.transform.forward);
}
var currentScaleText =