暂停粒子系统


描述

This action will pause the given particle system. You supply the unique ID value for the system to pause, as returned when you created the system with the action Create Particle System. A paused particle system will still draw the particles that have been spawned but they will no longer update their colour, position or alpha, nor will they complete their lifespan and disappear until you un-pause the system again. Note that this does not pause emitters that are streaming particles, nor will it stop an emitter bursting particles - emitters will still create particles when called, but when the system is paused the particles will do nothing and be drawn exactly where they are created until you reset the paused state or call Update Particle System.


动作语法:

Pause Particle System Syntax


参数:

参数 描述
系统 The unique ID value for the system to be paused


例如:

Pause Particle System Example
The above action block code will check a global variable and if it returns true then the given particle system will be paused otherwise it will be unpaused.