Note inspector调整,Static Window可开关,Log可复制清空
This commit is contained in:
BIN
Assets/Scripts/EditorGame/GameElements/.DS_Store
vendored
Normal file
BIN
Assets/Scripts/EditorGame/GameElements/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
Assets/Scripts/EditorGame/GameElements/Notes/.DS_Store
vendored
Normal file
BIN
Assets/Scripts/EditorGame/GameElements/Notes/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -135,7 +135,8 @@ namespace Ichni.RhythmGame
|
||||
}
|
||||
}
|
||||
public override void SetUpInspector()
|
||||
{//我想把时间放在第一层菜单所以
|
||||
{
|
||||
//我想把时间放在第一层菜单所以
|
||||
IHaveInspection inspector = EditorManager.instance.uiManager.inspector;
|
||||
var container = inspector.GenerateContainer("Element Info");
|
||||
var nameInputField = inspector.GenerateParameterInputField(this, container, GetType().Name + "'s Name", nameof(elementName));
|
||||
@@ -144,15 +145,16 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
inspector.GenerateCompositeParameterWindow(this, "Tags List", nameof(tags)).SetAsStringList();
|
||||
});
|
||||
var exactJudgeTimeInputField =
|
||||
inspector.GenerateParameterInputField(this, container, "exactJudgeTime", nameof(exactJudgeTime));
|
||||
exactJudgeTimeInputField.AddListenerFunction(_ => UpdateNoteInTrack());
|
||||
|
||||
foreach (var submodule in submoduleList)
|
||||
{
|
||||
submodule.SetUpInspector();
|
||||
}
|
||||
|
||||
|
||||
var judgetimeinput =
|
||||
inspector.GenerateParameterInputField(this, container, "exactJudgeTime", nameof(exactJudgeTime));
|
||||
base.SetUpInspector();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -36,9 +36,9 @@ namespace Ichni.RhythmGame
|
||||
themeBundleList, nameof(themeBundleName));
|
||||
themeBundleDropdown.AddListenerFunction(_ => inspectorMain.SetInspector(this));
|
||||
|
||||
if (themeBundleName != String.Empty)
|
||||
if (themeBundleName != String.Empty && ThemeBundleManager.instance.TryGetThemeBundle(themeBundleName, out ThemeBundle themeBundle))
|
||||
{
|
||||
objectNameList = ThemeBundleManager.instance.GetThemeBundle(themeBundleName).assetList_GameObject.ConvertAll(x => x.name);
|
||||
objectNameList = themeBundle.assetList_GameObject.ConvertAll(x => x.name);
|
||||
var objectNameDropdown =
|
||||
inspector.GenerateDropdown(this, container, "Object Name", objectNameList, nameof(objectName));
|
||||
objectNameDropdown.AddListenerFunction(_ => inspectorMain.SetInspector(this));
|
||||
|
||||
BIN
Assets/Scripts/EditorGame/GameElements/Track/.DS_Store
vendored
Normal file
BIN
Assets/Scripts/EditorGame/GameElements/Track/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -276,8 +276,6 @@ namespace Ichni.RhythmGame
|
||||
|
||||
var setOnlyStartEndPathNodeSphereEnabledButton = inspector.GenerateButton(this, toolsContainerPathNode,
|
||||
"Only Start & End Path Node's sphere enabled", SetOnlyStartEndPathNodeSphereEnabled);
|
||||
|
||||
trackSubmodulesContainer.SetDeviver(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user