-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
Fixed all duplicate issues, when loading mainmenu scene
enabled mainmenu button in game over panel