Code cleanup.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user