Experience

The player can collect XP and use it to purchase items, etc... Check ExperienceManager to discover how to add XP into your game.

circle-info

You can find an Experience Prefab uner Cowsins/Prefabs/DragAndDropExtras

  • minXp: Minimum XP to add to the player on collect.

  • maxXp: Maximum XP to add to the player on collect.

  • pickUpSFX: AudioClip to play on collect.

  • onCollect: Event that triggers on collect.

  • graphics: Graphics object reference

  • rotates: Apply rotation to the Pickeable

    • rotationSpeed: Change the speed of the Rotation effect

  • translates: Apply vertical translation to the Pickeable

    • translationSpeed: Change the speed of the Translation effect

  • image: Image that displays the Pickeable icon

  • graphics: Parent transform where the graphics will be stored at

Last updated