Remove transparent property.

This commit is contained in:
2022-11-18 10:23:51 +08:00
parent bf942cbe45
commit 1be5cc77ca
5 changed files with 6 additions and 20 deletions

View File

@@ -86,7 +86,7 @@ namespace Cryville.Crtr.Components {
else if (frameHeight != f.Value.Rect.height) throw new Exception("Inconsistent frame height");
if (!meshes.ContainsKey(f.Value.Frame.Texture)) {
var m = new MeshWrapper();
m.Init(mesh.MeshTransform, transparent);
m.Init(mesh.MeshTransform);
m.Mesh = new Mesh();
m.Renderer.material.mainTexture = f.Value.Frame.Texture;
meshes.Add(f.Value.Frame.Texture, m);