Last updated: Sep 8, 2022

Introduction

The Canvas Alpha script is used to, well, change the alpha of a CanvasGroup component based on certain things that can happen in-game.

You can find the Canvas Alpha at this path: Assets\Infima Games\Low Poly Animated - Modern Guns\Demo\Code\Interface\CanvasAlpha.cs

Fields Serialized

Canvas Group. Canvas group to update the alpha for.

Interpolation Speed. Speed of interpolation.

Cursor Unlocked Alpha. Alpha of the canvasGroup while the cursor is unlocked (pause menu is open).

Methods

Tick. This method gets run every frame.