给物体加了个trail renderer,使用了Legacy Shaders/Transparent/Diffuse,并将颜色调成白色半透明.在编辑器里效果是对的,但在ios上真机测试变成黑色的.然后看TrailRenderer的文档(http://docs.unity3d.com/Manual/class-TrailRenderer.html),里面写道: Trail Renderers should use a material that has a Particle Shader. 于是改…