Unity ui&vfx
|
Project Summary:
Used Unity 2019.4 to create UI popup window that works for both portrait and landscape ratios (16:9 , 9:16). Animate the stars with Unity particle effects. |
Features:
Optimization Done on UI & Particle Effect:
Thoughts on future optimization:
- Tapping 'Win Game' showcases the Congratulations UI.
- Congratulations pop-up animates in.
- Stars show up with a bounce animation.
- Stars fly up and counter increments.
- Tapping 'Collect' to hide UI and shows 'Win Game' button.
Optimization Done on UI & Particle Effect:
- Applied ’Raycast Target’ to interactive UI elements to avoid unnecessary graphic raycaster performance.
- Avoided using the UI layout group.
- Try to keep the ‘Max particle’ setting as low as possible.
- Mostly use unlit particle effects.
Thoughts on future optimization:
- Could potentially use nested canvas to divide up the static and dynamic UI elements.
- Combine the particle effect for each element into a single sprite sheet or pack texture into a single atlas or material.