
If you need to generate trails to make your dash look cooler, or make projectiles look more dynamic, and you are not quite sure how to write a script for that or want to save time, this is for you.This tool allows you to spawn trails from any GameObject in your 2D project.It’s easy to use, just a quick and simple setup with just 2 steps (very simple!), and you're good to start spawning different trails.The trails are precisely calculated to ensure consistent spacing, even with inconsistent frame rates. No more weird gaps caused by deltaTime inconsistency.Check out the example scene and documentation (English and Chinese versions availabl) to get started.This is the Pro version. The free version contains only the core feature, whereas the Pro version contains the full set with more customisations and features.Features in both free and pro:- Start or stop spawning trails with just two simple function calls.- Full control over how the trails look including: the order in layer, the colour gradient, the size, the lifespan, the spawn conditions, even the easing type.- Precise calculation for each trail object, ensuring smooth and accurate visuals even with inconsistent frame-rate.- Include 4 types of easing equations: sine, exponential, circle and elastic. These affect how trail size changes over time, and you can use them in your own project too!Features exclusive to pro:- Creating trail profiles, reusing settings (you can delete or rename them easily as well). You can also switch between profiles during runtime, allowing one game object to spawn multiple types of trails!- You can choose to let the colour gradient override the sprite's colour completely instead of tinting into it.- You can use different sprites for trail objects. You can specify one or multiple sprites, and choose whether to cycle through them in-order or pick the sprites randomly.- Another method to customise the scale change over time: Animation curve. Instead of relying on the easing equations, you can customise the curve however you like.- You can enable physical collision on trails, turning them into more than just a visual effect and interact with your gameplay!- Extension methods that let you write shorter and cleaner code.- You can listen to events including: on profile changed, on trail started, on trail ended, on trail object initialised, on trail object disabled and on will destroy trail object.If you have any questions or problems, please send an email to this address: heinok.chow@gmail.com*Only designed for 2D projects*The trail might work with the built-in render pipeline, but since this asset is developed using the URP render pipeline, setting URP up before importing this asset is still recommended* Allow users to generate a trail on a game object. The user can start and stop the trail in scripts.* Allow users to customise the appearance of the trails: order in layer, colour, sprite, scale size, lifespan, spawning condition, ease type or scale curve, etc.* Allow users to create and load trail profiles so they can reuse settings. They can also change the profile during runtime, allowing a game object to spawn more than one type of trail.* Supports physical collision detections on trails.* Uses object pooling to improve performance and save resources.* Automatically destroying pooled trail objects when needed. User can also manually do this in scripts.* Calculate the correct position for each trail object before spawning them, making sure the delta time imprecision will not cause any inconsistent gaps in the trail.* Events about trails that the users can listen to.