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();

View File

@@ -155,7 +155,8 @@ namespace Cryville.Crtr {
get { return false; }
}
public override Transform Match(ContainerState h, Transform a, bool dyn = false) {
return null; // TODO
if (!dyn) throw new SelectorNotStaticException();
return null;
}
}
public class ElementType : SkinSelector {