sounds and screens with improved matchmaker
This commit is contained in:
@@ -22,11 +22,19 @@ public class NetPlayer : NetworkBehaviour
|
||||
myTeam = Team.Blue;
|
||||
CmdSetTeam(Team.Blue);
|
||||
}
|
||||
|
||||
if(myTeam == Team.Blue){
|
||||
CameraEffects.instance.SetUpsideDown(true);
|
||||
}else{
|
||||
CameraEffects.instance.SetUpsideDown(false);
|
||||
}
|
||||
}
|
||||
|
||||
[Command]
|
||||
void CmdSetTeam(Team team){
|
||||
myTeam = team;
|
||||
if (GameManager.instance != null)
|
||||
GameManager.instance.OnMatchPlayerTeamAssigned(team);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user