Cross Track Point和Trail的进一步制作,修复Duplicate的Guid Bug
Ctrl+M切摄像机
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user