← Back to all addons

Quit Game Menu Action

Posted by SvanDark on Aug 20, 2025 at 2:46 PM

Gameplay3.0 Verified
mcrainbowsheep 2 💡 1

Simple, yet effective for your game!

Now i’ll go over a step by step on how to use this new action:

  1. Start by replacing the UIGameMenuEntry.cs code with the one i attached here

  2. Head over to the Game Menu prefab and duplicate Main Menu (CTRL + D or CTRL C + CTRL V, your choice) and select the one you duplicated

  3. Now in the inspector, head over to the UI Game Menu Entry Script, and change the Go To Main Menu to Quit Game

And you should be good to go!

📜 Scripts

💬 Comments (5)

Gyvr Aug 20, 2025 at 03:26 PM
Thanks for sharing 😄 I guess to avoid confusion I’d suggest renaming this post since it doesn’t exactly relate to the command system, but adds a game menu action
SvanDark Aug 20, 2025 at 03:27 PM
Yeah you’re right, 1 sec!
SvanDark Aug 20, 2025 at 03:27 PM
Quit Game Menu Action
❤️ 1
Gyvr Aug 20, 2025 at 03:28 PM
Next step would to share how to use this new action 😝
SvanDark Aug 20, 2025 at 03:29 PM
I was just doing that lol, give me a few mins!
😆 1

Want to continue the conversation?