Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed mainmenu button #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fixed mainmenu button #5

wants to merge 1 commit into from

Conversation

keivlech
Copy link
Collaborator

@keivlech keivlech commented Feb 8, 2023

Fixed all duplicate issues, when loading mainmenu scene
enabled mainmenu button in game over panel

@keivlech keivlech linked an issue Feb 8, 2023 that may be closed by this pull request
Copy link
Owner

@hamletmillqvist hamletmillqvist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some zombie code that should be removed, but we can do that in separate PR.

[SerializeField] private Canvas MenuCanvas;
[SerializeField] private Canvas creditsCanvas;
[SerializeField] private Canvas placingsCanvas;
private int activeScene = 0;
[SerializeField] private string nextScene;
//private int activeScene = 0;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can ignore commenting code, we have version control for a reason! :)

@@ -19,28 +22,29 @@ public class MenuManager : MonoBehaviour
[SerializeField] private string threePlayerScene;
[SerializeField] private string fourPlayerScene;

[SerializeField] private string gameOverScene;
//[SerializeField] private string gameOverScene;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-enable "main menu" at game over screen
2 participants