Last updated: Sep 11, 2022

Introduction

The Initial Unholster component takes care of playing an unholster animation on the player character whenever the game starts. It waits a little bit before doing so, this way we can get our fade animation to play properly.

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

Fields Serialized

Delay. Delay after the player has clicked to start at which the play the unholster.

Fields

Game Start Service. Reference to the game’s IGameStartService class.

Is Done. If true, that means we've finished with using this component.

Functions

Wait. Waits for a few seconds before playing the unholster animation on the character’s Animator component.