Skip to content

There is a helper which makes the Unity Editor run particle systems inside an animation in the Edit mode.

License

Notifications You must be signed in to change notification settings

dgolovin-dev/unity3d-animation-with-particles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity3d: Animation helper for Particle Systems (Edit mode)

There is an inconvenience, that you can't play an animation with a particle system in the Editor. A particle system just won't work when you preview an animation. Often, it is crucial when you develop a visual effect which uses both an animation and a particle system.

I tried to find a solution and I wrote this helper.

>watch the video<

Clone the source code and see the full example.

There are some important notes:

  • you should enable the particle system in your animation
  • you shold select the particle systems in the Hierarchy when you are playing the animation (otherwise editor won't render the particle systems)
  • set the correct duration for the particle system
  • this helper works only in edit mode

PS

I consider that the Unity Editor should allow playing particle systems in animation out of the box.

So, the developers of Unity: pay attention to this helper!

Other guys - feel free to copy and modify this script.

About

There is a helper which makes the Unity Editor run particle systems inside an animation in the Edit mode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages