Author Topic: Play ParticleSystem on Tween Finish  (Read 8636 times)

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
Play ParticleSystem on Tween Finish
« on: November 12, 2014, 12:28:48 PM »
Hi,
I wanted to Play a ParticleSystem at the end of a Tween but it doesn't appear when I link my gameobject to the OnFinish event.
I know I can do it with a script called by OnFinish that will call the particle system but it would be nice to be able to do it directly on the finish event of the tween.
Is this something related to NGUI or related to Unity?

(I'm using NGUI 3.7.2, I don't remember that it was added in more recent versions)

Thank you.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Play ParticleSystem on Tween Finish
« Reply #1 on: November 14, 2014, 04:32:02 AM »
Particle system is not meant to be scripted, unfortunately. Unity has acknowledged this limitation in the past. I believe they are addressing it in 5.0, but not 100% certain.