Exemplo n.º 1
0
    public void AffectPlayer(int playerId)
    {
        var value = (myType == SpotType.BLUE) ? 3 : -3;

        GM.AddCashToPlayer(playerId, value);
        GamePlayerMover.RepositionGamePieces(transform.position, ref currentPieces);
    }
Exemplo n.º 2
0
 public void OnTriggerExit(Collider col)
 {
     if (col.tag == "Player")
     {
         currentPieces.Remove(col.gameObject);
         GamePlayerMover.RepositionGamePieces(transform.position, ref currentPieces);
     }
 }