Код
using UnityEngine;
using System.Collections;
public class particleEnablee : MonoBehaviour {
ParticleSystem compoPa;
int timeManaGer;
void Start () {
compoPa = GetComponent<ParticleSystem> ();
timeManaGer =0;
}
// Update is called once per frame
void Update () {
timeManaGer++;
if (timeManaGer > 100 & timeManaGer < 200)
{
compoPa.enableEmission = true;
}
else compoPa.enableEmission = false;
}
}
было?