Version: 5.3
파티클 시스템이란?
파티클 시스템 사용 방법

Unity에서 파티클 시스템 사용

Unity implements particle systems with a Component, so placing a system in a scene is a simple matter of adding a pre-made object (menu: GameObject > Create General > Particle System) or adding the component to an existing object (menu: Component > Effects > Particle System). Since the component is quite complicated, the inspector is divided into a number of collapsible sub-sections or modules that each contain a group of related properties. Additionally, you can edit one or more systems at the same time using a separate editor window accessed via the Open Window button on the inspector. The many options available for the Particle System component are described in detail on its component reference page and the pages for the individual modules.

When an object with a particle system is selected, the scene view will contain a small Particle Effect panel with some simple controls that are useful for visualising changes you make to the system’s settings.

The Playback Speed allows you to speed up or slow down the particle simulation so you can quickly see how it will look at an advanced state. The Playback Time indicates the time elapsed since the system was started; this may be faster or slower than real time depending on the playback speed. The Particle Count indicates how many particles are currently in the system. The playback time can be “scrubbed” backwards and forwards by clicking on the Playback Time label and dragging the mouse left and right. The buttons at the top of the panel can be used to pause and resume the simulation or to stop it and reset to the initial state.

Varying Properties Over Time

Many of the numeric properties of particles or even the whole system can be varied over time. Unity provides several different methods of specifying how the variation will happen:-

  • Constant: The property’s value is fixed throughout its lifetime.
  • Curve: The value is specified by a curve/graph.
  • Random between two constants: Two constant values define the upper and lower bounds for the value; the actual value varies randomly over time between those bounds.
  • Random between two curves: Two curves define the upper and lower bounds of the the value at a given point in its lifetime; the current value varies randomly between those bounds.

For color properties, such as Color over lifetime, there are two separate options:

  • Gradient: The color value is taken from a gradient.
  • Random between two gradients: Two gradients define upper and lower “bounds” on the color value at a given time; the value used is a randomly weighted average of the two bound colors.
파티클 시스템이란?
파티클 시스템 사용 방법