GMController

This is the main controller for the system and adjusting these settings will affect how your gas mask works. I'll detail below:

Variable Name
Description

Has Gas Mask On Start

Set whether you want the gas mask from the start of the game

Max Equip Timer

How fast the gas mask is equipped

Filter Fall rate

How fast the filter falls over time

Warning Percentage

At what percentage the system should warn the player that the gas mask is low on filter amount

Filter timer

How long each filter will last when full

Mask Filters

How many filters you're currently carrying

Audio References

References to the audio ScriptableObjects for playing audio clips

Equipping Inputs

Set the inputs to use for this system

Last updated