BCE0019: 'point' is not a member of 'Object'.
works fine in desktop mode. not for iOS
not sure what do to fix.
Tron Trail.js error
works fine in desktop mode. not for iOS
not sure what do to fix.
Code (JavaScript):
- /*
- Generates a trail that is always facing upwards using the scriptable mesh interface.
- vertex colors and uv's are generated similar to the builtin Trail Renderer.
- To use it
- 1. create an empty game object
- 2. attach this script and a MeshRenderer
- 3. Then assign a particle material to the mesh renderer
- */
- var dirChange = false;
- var height = 2.0;
- var brushSize = 1.5f;...