内容修补
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Ichni.RhythmGame.Beatmap;
|
||||
using Ichni.RhythmGame.ThemeBundles.Basic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
@@ -27,16 +29,36 @@ namespace Ichni.RhythmGame.ThemeBundles.DepartureToMultiverse
|
||||
if (isFirstGenerated)
|
||||
{
|
||||
note.noteJudgeSubmodule.AddJudgeUnit("TouchArea");
|
||||
//effectSubmodule.effectCollection["Generate"].Add(new BasicNoteGenerateExpand(this));
|
||||
effectSubmodule.effectCollection["Generate"].Add(new DTMNoteGenerateExpand(this, 1f, 0.2f));
|
||||
effectSubmodule.effectCollection["Perfect"].Add(new DTMNotePerfectBurst(this));
|
||||
if (objectName.Contains("Tap"))
|
||||
{
|
||||
effectSubmodule.effectCollection["Good"].Add(new DTMNoteGoodBurst(this));
|
||||
effectSubmodule.effectCollection["Bad"].Add(new DTMNoteBadBurst(this));
|
||||
}
|
||||
//effectSubmodule.effectCollection["Miss"].Add(new BasicNoteMissPale(this));
|
||||
effectSubmodule.effectCollection["Miss"].Add(new DTMNoteMissTransparent(this, 0.2f));
|
||||
}
|
||||
}
|
||||
|
||||
public override void AfterInitialize()
|
||||
{
|
||||
Recover();
|
||||
}
|
||||
|
||||
public override void Recover()
|
||||
{
|
||||
effectPartList.ForEach(effectPart =>
|
||||
{
|
||||
effectPart.GetComponent<ParticleSystem>().Stop();
|
||||
});
|
||||
|
||||
foreach (Renderer renderer in notePartList.Select(part => part.GetComponent<Renderer>()))
|
||||
{
|
||||
renderer.material.SetFloat("_MainAlpha", 1f);
|
||||
}
|
||||
|
||||
noteMain.transform.localScale = Vector3.zero;
|
||||
}
|
||||
}
|
||||
|
||||
public partial class DTMNoteVisual
|
||||
|
||||
Reference in New Issue
Block a user