Пример #1
0
    public virtual ParticleEmitter CreateEmitter(string particleName, Vector3 pos, float angle, Transform parent = null)
    {
        if (particleController == null)
        {
            return(null);
        }

        ParticleEmitter emitter = ParticleManager.Instance.CreateEmitter(pos, angle, parent, particleController.GetParticles(particleName));

        return(emitter);
    }