Change materials to shared mode in components.
This commit is contained in:
@@ -122,7 +122,7 @@ namespace Cryville.Crtr.Components {
|
||||
return;
|
||||
}
|
||||
mesh.Renderer.enabled = true;
|
||||
mesh.Renderer.material.mainTexture = frame.Frame.Texture;
|
||||
mesh.Renderer.sharedMaterial.mainTexture = frame.Frame.Texture;
|
||||
UpdateShader();
|
||||
UpdateUV();
|
||||
UpdateScale();
|
||||
|
Reference in New Issue
Block a user