The Shared Pickups component will allow you to place pickups in your game that can be picked up by all players. Instead of pickups becoming a race to who can get them first, every player will have a chance to collect the pickup.
This component makes use of the dormancy feature so that it can still be networked, but not replicate.
How to use
Drop the Shared Pickup template into your Hierarchy.
The root of the template has various properties to customize the pickup. All the effects, audio, and geo are inside
the template which can also be changed to suit your game.
If enabled, the pickup will move up and down based on the AnimationCurve.
The speed duration of the item moving up and down.
The distance of how far the item will move up.
How long until the pickup will respawn for the player.
If greater than 0, then the pickup will rotate at this speed.
The resource key to use when giving the resource to the player.
The amount of resources to give on pickup.
1 thought on “Shared Pickups”
Pingback: Core Academy Essentials - Core Academy