Note inspector调整,Static Window可开关,Log可复制清空

This commit is contained in:
SoulliesOfficial
2025-02-24 15:20:54 -05:00
parent 935cbbb029
commit 1b4637ae95
39 changed files with 2556 additions and 121 deletions

Binary file not shown.

View File

@@ -101,6 +101,13 @@ namespace Ichni.RhythmGame
inspector.GenerateParameterText(this, container, "Current Position", nameof(currentPosition), true);
var currentRotText =
inspector.GenerateParameterText(this, container, "Current Rotation", nameof(currentEulerAngles), true);
if (attachedGameElement is PathNode pathNode) // 如果是PathNode显示法线方向
{
var currentNormalText =
inspector.GenerateHintText(this, container, () => "Normal: " + pathNode.transform.forward);
}
var currentScaleText =
inspector.GenerateParameterText(this, container, "Current Scale", nameof(currentScale), true);
@@ -108,8 +115,8 @@ namespace Ichni.RhythmGame
originalRotInputField.AddListenerFunction(Refresh);
originalScaleInputField.AddListenerFunction(Refresh);
//这玩意得放在最下面
container.SetDeviver(1);
//这玩意得放在最下面
container.SetDeviver(1);
}
public override void Refresh()