internal void Stop(AdvParticleStopType stopType) { IAdvGraphicObjectParticleController controller = GetComponentInChildren <IAdvGraphicObjectParticleController>(); if (controller == null) { //コントローラー未設定 switch (stopType) { case AdvParticleStopType.StopEmitting: this.GetComponentInChildren <ParticleSystem>().Stop(true, ParticleSystemStopBehavior.StopEmitting); break; case AdvParticleStopType.Clear: default: //即座に消しておわり ParentObject.FadeOut(0); break; } } else { controller.Stop(stopType); } }