예제 #1
0
 public void Deactivate()
 {
     if (!Active)
     {
         return;
     }
     Active = false;
     FieldParticles.Stop();
     SuckRings.Stop();
     CentroidParticles.Stop();
     MyCollider.enabled = false;
 }
예제 #2
0
 public void Activate()
 {
     if (Active)
     {
         return;
     }
     Active = true;
     FieldParticles.Play();
     SuckRings.Play();
     CentroidParticles.Play();
     MyCollider.enabled = true;
 }