Last updated: Sep 8, 2022

Introduction

The Menu Quality Settings component takes care of everything needed for our pause menu to function properly in the asset.

You can find the Menu Quality Settings script ****at this path: Assets\Infima Games\Low Poly Animated - Modern Guns\Demo\Code\Interface\MenuQualitySettings.cs

Fields Serialized

Animated Canvas. Reference to the canvas GameObject to play animations on.

Animation Show. Animation played when showing this menu.

Animation Hide. Animation played when hiding this menu.

Fields

Animation Component. Reference to the Animation component we use to play showing/hiding animations.

Menu Is Enabled. If true, it means that this menu is enabled and showing properly.

Methods

Show. Shows the menu by playing an animation.

Hide. Hides the menu by playing an animation.

Restart. Restarts the current level.

Quit. Quits the game.