- Notifications
You must be signed in to change notification settings - Fork28
This is an open source Unity pause menu created for the game New Horizons, and it's completely free because of how a pause menu is a core component of a game, while the unity asset store was lacking in such an asset (until this was released on the asset store).
License
GreatArcStudios/unitypausemenu
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Unrelated request: please check out my new assetuDocumentGenerator
Just drag the pause menu prefab from the prefab folder into your scene, and then bring it into view by editing the x value of the PREFAB to 0 , y to 0 and Z to 0.
Completely delete the pause menufolder and install the new version.
If you have a custom prefab or manager you can always keep that version in a different folder and merge the changes from there.
- Assign the main cam obj as the camera with your image effects like DOF and AO.
- The docs are located here:https://github.com/GreatArcStudios/UnityPauseMenuDocs
- Special note for 5.4 and above: you may ignore theCoroutine Utlities folder and or update the script due to Unity 5.4's (and above) addition of aWaitForSecondsRealTime method.
Using a joystick/controller should work fine. Just remeber to change the highlighted dropdown to Joystick.
First, make sure you have the unity image effects package. Then follow the next few steps.
Uncomment the following variable declarations found starting at line270
//Blur Variables//Blur Effect Script (using the standard image effects package)publicBlurblurEffect;//Blur Effect Shader (should be the one that came with the package)publicShaderblurEffectShader;//Boolean for if the blur effect was originally enabledpublicBooleanblurBool;
Find and uncomment the following code found starting at line349
//set the blur boolean to false;blurBool=false;//Add the blur effectmainCamObj.AddComponent(typeof(Blur));blurEffect=(Blur)mainCamObj.GetComponent(typeof(Blur));blurEffect.blurShader=blurEffectShader;blurEffect.enabled=false;
Uncomment the following code found starting at line382
if(blurBool==false){blurEffect.enabled=false;}else{//if you want to add in your own stuff do so herereturn;}
Uncomment the following code found starting at line465 .
if(blurBool==false){blurEffect.enabled=true;}
And that's it. Just a few steps to enable a blury background on your pause menu!
About
This is an open source Unity pause menu created for the game New Horizons, and it's completely free because of how a pause menu is a core component of a game, while the unity asset store was lacking in such an asset (until this was released on the asset store).
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.

