public void PlayerPushedOut(SumoWrestler defendant, SumoWrestler aggressor) { defendant.Restart(); if (aggressor) { ChainJam.AddPoints(aggressor.ID, 1); points[(int)aggressor.ID] += 1; } }
private void die() { if (lastHit != null) { ChainJam.AddPoints(lastHit.id, 1); } this.transform.position = Platform.Platforms[ Random.Range(0, Platform.Platforms.Count - 1) ].transform.position + Vector3.up; }