Пример #1
0
 private void OnCollisionEnter(Collision other)
 {
     if (lightningActive)
     {
         // Play lightning particle effect
         lightning.StartParticle();
     }
 }
Пример #2
0
 public void GrabMjolnir()
 {
     staticEffect.StartParticle();
     rigid.constraints = RigidbodyConstraints.None;
     returning         = false;
 }