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