Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
to-the-surface
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
GDW-SS-18
to-the-surface
Commits
44e578ec
Commit
44e578ec
authored
Sep 29, 2018
by
Christopher Benes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.fsi.hochschule-trier.de/GDW-SS-18/unity/to-the-surface
parents
eb8a9bc1
5495c707
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Assets/_Game/Scripts/LevelSelectController.cs
Assets/_Game/Scripts/LevelSelectController.cs
+1
-1
No files found.
Assets/_Game/Scripts/LevelSelectController.cs
View file @
44e578ec
...
...
@@ -18,7 +18,7 @@ public class LevelSelectController : MonoBehaviour {
{
int
highestLevel
=
GameManager
.
Instance
.
HighestLevel
;
int
lastLevel
=
GameManager
.
Instance
.
LastLevel
;
int
pagesNeeded
=
lastLevel
/
6
+
1
;
int
pagesNeeded
=
lastLevel
%
6
==
0
?
lastLevel
/
6
:
lastLevel
/
6
+
1
;
int
buttonsOnLastPage
=
lastLevel
%
6
;
GameObject
currentPage
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment