Inheritance: ParticlesSystem
Exemplo n.º 1
0
    public void activeParticles(particles p)
    {
        switch (p)
        {
        case particles.green:
            greenParticles.SetActive(true);
            break;

        case particles.red:
            redParticles.SetActive(true);
            break;
        }
    }
Exemplo n.º 2
0
 void Awake()
 {
     inst = this;
 }
	void Awake ()     
	{
		inst = this;
	}