-
-
Save anchan828/7a1813e3706e36074552 to your computer and use it in GitHub Desktop.
ParticleSystem.isStoppedとParticleSystem.isPausedのサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class Example :MonoBehaviour | |
{ | |
void Update () | |
{ | |
if (particleSystem.isPlaying == false) { | |
if (particleSystem.isStopped) { | |
} | |
if (particleSystem.isPaused) { | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment