「Unity/Csharp/Particle」の版間の差分
提供: 初心者エンジニアの簡易メモ
(ページの作成:「==パーティクル再生== GameObject gameObj = GameObject.Find ("ParticleSystem1"); gameObj.GetComponent<ParticleSystem> ().Stop (); ==パーティクル停止== G...」) |
(相違点なし)
|
2017年10月5日 (木) 15:36時点における版
パーティクル再生
GameObject gameObj = GameObject.Find ("ParticleSystem1"); gameObj.GetComponent<ParticleSystem> ().Stop ();
パーティクル停止
GameObject gameObj = GameObject.Find("ParticleSystem1"); gameObj.GetComponent<ParticleSystem> ().Play ();