Example #1
0
 void ServerLevelUp()
 {
     LevelUpChoice c = new LevelUpChoice (0);
     RpcReceiveLevelUpChoice (c);
     _choicesBuffer.Enqueue (c);
     GetComponent<PlayerFX> ().RpcPlaySoundForMainPlayer (PlayerFX.PLAYER_SOUNDS.LEVEL_UP, false);
     GetComponent<PlayerCaptionController> ().RpcPushCaption ("LEVEL UP! Right click to upgrade",4f);
     GetComponent<PlayerFX> ().RpcDoLevelUpParticle ();
 }
Example #2
0
 void RpcReceiveLevelUpChoice(LevelUpChoice i)
 {
     _choicesBuffer.Enqueue (i);
 }