Пример #1
0
 public void PlayerPushedOut(SumoWrestler defendant, SumoWrestler aggressor)
 {
     defendant.Restart();
     if (aggressor)
     {
         ChainJam.AddPoints(aggressor.ID, 1);
         points[(int)aggressor.ID] += 1;
     }
 }
Пример #2
0
 public void PlayerPushedOut(SumoWrestler defendant, SumoWrestler aggressor)
 {
     defendant.Restart();
     if (aggressor)
     {
         ChainJam.AddPoints(aggressor.ID, 1);
         points[(int)aggressor.ID] += 1;
     }
 }
Пример #3
0
    void OnCollisionEnter(Collision collision)
    {
        SumoWrestler w;
        if ((w = collision.collider.GetComponent<SumoWrestler>()) != null)
        {
            lastContact = w;
            _chargeImpactParticles.Play();
        }

        StartCoroutine(Vibrate(0.2f, 0.5f, 0.5f));
    }
Пример #4
0
    void OnCollisionEnter(Collision collision)
    {
        SumoWrestler w;

        if ((w = collision.collider.GetComponent <SumoWrestler>()) != null)
        {
            lastContact = w;
            _chargeImpactParticles.Play();
        }

        StartCoroutine(Vibrate(0.2f, 0.5f, 0.5f));
    }