playMaker

Author Topic: [Particle] Particle System Is Alive Bridge  (Read 1007 times)

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
[Particle] Particle System Is Alive Bridge
« on: April 11, 2015, 10:18:58 AM »
check if any particle is active in scene and set bool/send event

Similar to Particle System Is Alive (http://hutonggames.com/playmakerforum/index.php?topic=10077.0) but much more general (less control).

Update: action + updates are on ecosystem or https://snipt.net/dudebxl/

hope it helps..
« Last Edit: May 31, 2015, 02:15:42 PM by dudebxl »

dudebxl

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Re: [Particle] Particle System Is Alive Bridge
« Reply #1 on: April 11, 2015, 07:28:49 PM »
Small update

 - Added a 'everyframe' option (works when events are all off or one event is off so can work as a 'did bool change - send event' if wanted)

- Due to everyframe, the method used should not be used called every frame if you have many gameobjects in scene so optimization option is available. Everyframe becames every 15 frames, more of a hack, hopefully helps but if you any opinion on this, please let me know.

- Also added 'LateUpdate'.
« Last Edit: April 12, 2015, 09:20:38 AM by dudebxl »