Namespace Game
Classes
DayNightCycle
EventSystemizer
This class makes sure there is only one EventSystem in the game at any time.
FallPlatform
This class controls platforms that fall when touched by a player or another platform. The platform will fall after a delay and then reset to its original position.
GameManager
This class controls the main game logic, like starting the game, keeping track of players, handling game modes, and deciding when the game ends.
GameManagerHelper
This class helps manage positions for the GameManager during development. It allows adding hat spawn positions and player spawn positions directly in the editor.
GameTimer
This class manages the game's countdown timer. It starts, updates, and stops the timer, and ends the game when time runs out.
HatRespawn
This class manages the behavior of the hat in the game, including its respawn logic. The hat can be picked up, dropped, and respawned after a certain amount of time.
HealthBarManager
This class manages the health bars for all players in the game. It creates, updates, and removes health bars as needed.
HubManager
This class manages the hub area of the game, including loading and unloading game scenes, controlling the hub camera, and managing game buttons.
InfiniteScroll
This class handles the infinite scrolling effect for the background.
LeaderboardManager
This class manages the leaderboard, including initializing player icons, updating player positions, and displaying hold times.
LifeDisplayManager
This class manages the display of player lives, including creating life icons and updating them based on the player's remaining lives.
MapSelect
This class manages the map selection process by setting the selected map based on the active toggle in the toggle group.
ModeSelect
This class manages the game mode selection process by setting the game mode based on the active toggle in the toggle group.
MovingPlatform
This class controls a platform that moves between specified points in a loop.
ObjectVisibility
This class controls the visibility of an object based on the current game mode.
ObstacleCourse
This class handles the logic for detecting when a player completes the obstacle course.
PlayerCardCreator
This class is used to create cards for players when they join the game.
PlayerJoinCard
This class represents a player join card, displaying the player's number and preview in the game lobby.
RespawnOnTriggerEnter
This class handles respawning objects when they collide with a trigger tagged with a specific value.
TerribleHealthBarScript
This class manages the health bar visuals for a player, including updating the health bar's size, position, and color based on the player's current health.
WinScreen
Manages the win screen display for the game. Displays the winning player's information and triggers the win screen animation.
Enums
GameManager.GameMode
The different game modes players can choose from.
Delegates
GameManager.GameEvent
A type of event that happens during the game, like when it starts or ends.