This commit is contained in:
SoulliesOfficial
2026-04-03 10:53:11 -04:00
parent e7b890686d
commit 1bc9af280b
177 changed files with 4029 additions and 3302 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Dreamteck.Splines;
using Ichni.RhythmGame.Beatmap;
using Lean.Pool;
@@ -45,6 +46,20 @@ namespace Ichni.RhythmGame
return pathNode;
}
public override void AfterInitialize()
{
base.AfterInitialize();
if (childElementList.Any(c => c is AnimationBase))
{
if(track.trackRendererSubmodule != null) track.trackRendererSubmodule.meshGenerator.autoUpdate = true;
}
else
{
//LeanPool.Despawn(gameObject);
}
}
public override void SetDefaultSubmodules()
{
transformSubmodule = new TransformSubmodule(this);