Code cleanup.

This commit is contained in:
2022-12-22 17:15:31 +08:00
parent 1f0ac2a2e9
commit ff5928b556
2 changed files with 2 additions and 7 deletions

View File

@@ -113,12 +113,6 @@ namespace Cryville.Crtr.Components {
UpdateZIndex();
}
void AddMat(List<Material> list, string frame) {
var mat = mesh.NewMaterial;
mat.mainTexture = ChartPlayer.frames[frame].Texture;
list.Add(mat);
}
protected override void OnDestroy() {
base.OnDestroy();
Reset();