示例#1
0
 protected virtual void OnPickup(CustomOnlinePlayer player, string part)
 {
     player.GetComponent<LevelUser>().GainEXP(EXP_Reward, (int)repairPotential, part);
 }
示例#2
0
 protected virtual void OnPickup(CustomOnlinePlayer player)
 {
     player.GetComponent<TutorialLevelUser>().GainEXP(EXP_Reward);
     player.GetComponent<PlayerFX>().PlaySound(PlayerFX.PLAYER_SOUNDS.PICKUP,false);
 }
示例#3
0
 protected override void OnPickup(CustomOnlinePlayer player)
 {
     base.OnPickup(player);
     player.MapPieces++;
     player.GetComponent<PlayerFX> ().RpcPlaySoundForMainPlayer (PlayerFX.PLAYER_SOUNDS.PICKUP_SCROLL,false);
 }