This commit is contained in:
2025-06-29 21:28:49 +08:00
parent b85e29c540
commit 0f77ad6ad3
12 changed files with 16156 additions and 16017 deletions

View File

@@ -1,5 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Ichni.Editor;
using Ichni.RhythmGame.Beatmap;
using Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse;
@@ -94,6 +95,7 @@ namespace Ichni.RhythmGame
{
var container = inspector.GenerateContainer(effect.Key);
var subcontainer = container.GenerateSubcontainer(3);
//都有dictonary了想个办法做Dropdown
var effectNameInputField = inspector.GenerateInputField(subcontainer, "Effect Name");
var addEffectButton = inspector.GenerateButton(this, subcontainer, "Add Effect", () =>
{
@@ -325,13 +327,13 @@ namespace Ichni.RhythmGame
}
/// <summary>
/// 如果效果被打断主要对于Holding Effect则触发这个方法
/// </summary>
public virtual void Disrupt()
{
}
/// <summary>

View File

@@ -225,7 +225,7 @@ namespace Ichni.RhythmGame
// 只用反射方式生成enableTypes的UI
if (enableTypes != null && enableTypes.Count > 0)
{
var elcontainer = inspector.GenerateContainer("Enable Children DisPlay");
var elcontainer = inspector.GenerateContainer("Enable Children Display");
var enableTypeContainer = elcontainer.GenerateSubcontainer(3);
var type = enableTypes.GetType().GetGenericArguments()[0];
int elcount = 0;

View File

@@ -63,7 +63,7 @@ namespace Ichni.RhythmGame
public void ClosePath()
{
if (isClosed)
if (isClosed && pathNodeList.Count > 2)
{
path.Close();
}