perf
This commit is contained in:
@@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Ichni.RhythmGame.Beatmap;
|
||||
|
||||
using UniRx;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Ichni.RhythmGame
|
||||
@@ -50,6 +50,11 @@ namespace Ichni.RhythmGame
|
||||
{
|
||||
transformSubmodule = new TransformSubmodule(this);
|
||||
}
|
||||
|
||||
public override void AfterInitialize()
|
||||
{
|
||||
Observable.NextFrame().Subscribe(_=> trailRenderer.Clear());
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Trail
|
||||
|
||||
Reference in New Issue
Block a user