Last updated: Sep 11, 2022

Introduction

The Randomizer component helps us with randomizing the attachments and skins on the character/weapons.

You can find the Randomizer at this path: Assets\Infima Games\Low Poly Animated - Modern Guns\Demo\Code\Miscellaneous\Randomizer.cs

Fields Serialized

Inventory Behaviour. Reference to the player character’s InventoryBehaviour component.

Character Skinner. Character Skinner Reference. We use this one to randomize the character skin when pressing the correct input.

Animator. Reference to the player character’s Animator component.

Methods

Play. Plays the randomizing animation.