Flexible修改,主题包更新

This commit is contained in:
SoulliesOfficial
2025-03-09 23:31:32 -04:00
parent 206698dd79
commit 2e7fca088d
36 changed files with 46658 additions and 10071 deletions

View File

@@ -0,0 +1,65 @@
using System.Collections;
using System.Collections.Generic;
using Ichni.Editor;
using Ichni.RhythmGame.Beatmap;
using Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap;
using UnityEngine;
namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
{
public class DTMNoteBadBurst : NoteBadEffect
{
private ParticleSystem effectParticle;
public DTMNoteBadBurst(NoteVisualBase noteVisual)
{
this.note = noteVisual.note;
this.noteVisual = noteVisual;
this.effectParticle = noteVisual.effectPartList[2].GetComponent<ParticleSystem>();
this.effectTime = 0f;
}
public override void Recover()
{
effectParticle.Stop();
noteVisual.noteMain.SetActive(true);
}
public override void Adjust()
{
effectParticle.Play();
noteVisual.noteMain.SetActive(false);
}
public override EffectBase_BM ConvertToBM()
{
return new DTMNoteBadBurst_BM(effectTime);
}
public override void SetUpInspector()
{
IHaveInspection inspector = EditorManager.instance.uiManager.inspector;
var container = inspector.GenerateContainer("DTM Note Bad Burst");
}
}
namespace Beatmap
{
public class DTMNoteBadBurst_BM : NoteBadEffect_BM
{
public DTMNoteBadBurst_BM()
{
}
public DTMNoteBadBurst_BM(float effectTime) : base(effectTime)
{
}
public override EffectBase ConvertToGameType(GameElement attachedGameElement)
{
return new DTMNoteBadBurst(attachedGameElement as NoteVisualBase);
}
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 67db7eb4fcc0349018286835cdcb09b6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,65 @@
using System.Collections;
using System.Collections.Generic;
using Ichni.Editor;
using Ichni.RhythmGame.Beatmap;
using Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse.Beatmap;
using UnityEngine;
namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
{
public class DTMNoteGoodBurst : NoteGoodEffect
{
private ParticleSystem effectParticle;
public DTMNoteGoodBurst(NoteVisualBase noteVisual)
{
this.note = noteVisual.note;
this.noteVisual = noteVisual;
this.effectParticle = noteVisual.effectPartList[1].GetComponent<ParticleSystem>();
this.effectTime = 0f;
}
public override void Recover()
{
effectParticle.Stop();
noteVisual.noteMain.SetActive(true);
}
public override void Adjust()
{
effectParticle.Play();
noteVisual.noteMain.SetActive(false);
}
public override EffectBase_BM ConvertToBM()
{
return new DTMNoteGoodBurst_BM(effectTime);
}
public override void SetUpInspector()
{
IHaveInspection inspector = EditorManager.instance.uiManager.inspector;
var container = inspector.GenerateContainer("DTM Note Good Burst");
}
}
namespace Beatmap
{
public class DTMNoteGoodBurst_BM : NoteGoodEffect_BM
{
public DTMNoteGoodBurst_BM()
{
}
public DTMNoteGoodBurst_BM(float effectTime) : base(effectTime)
{
}
public override EffectBase ConvertToGameType(GameElement attachedGameElement)
{
return new DTMNoteGoodBurst(attachedGameElement as NoteVisualBase);
}
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: df5f054473b424da2a58900ad53cf508
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -38,7 +38,7 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
public override void SetUpInspector()
{
IHaveInspection inspector = EditorManager.instance.uiManager.inspector;
var container = inspector.GenerateContainer("Basic Note Perfect Burst");
var container = inspector.GenerateContainer("DTM Note Perfect Burst");
}
}