Skip to content

Instantly share code, notes, and snippets.

@anchan828
Created February 19, 2012 17:11
Show Gist options
  • Save anchan828/1864677 to your computer and use it in GitHub Desktop.
Save anchan828/1864677 to your computer and use it in GitHub Desktop.
IEnumerator Start ()
{
particleSystem.Play ();
yield return new WaitForSeconds(3);
particleSystem.Stop ();
yield return new WaitForSeconds(3);
particleSystem.Play ();
//yield return new WaitForSeconds(3);
//particleSystem.Pause ();
//yield return new WaitForSeconds(3);
//particleSystem.Play ();
yield return new WaitForSeconds(3);
particleSystem.Clear ();
yield return new WaitForSeconds(3);
particleSystem.Play ();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment