This Level_HideAndSeekManager component is a server-side component for managing the procedures of a hide and seek game. With this component, your game can:
- Select some players as seeks and others as hiders.
- Determines whether the game ends by counting the number of hiders.
- Send the results to all players when the game ends.
Note: As this is a global component, you can attach this component to any object in the scene. However, it's a best practice to create an empty object named "GameManager" and attach this component to it.
This component must be used with Level_SingleGamePanel as it provides basic events, such as game matching, counting down, game start, game end, and game restart.
This component is suggested to be used with: