Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Wintersemester 2018-2019
Unity
10 kleine Lemminge
Commits
f48229e1
Commit
f48229e1
authored
Apr 01, 2019
by
KirschStreuselKuchen
Browse files
Merge remote-tracking branch 'origin/master'
parents
23d855f6
3685d7a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Assets/FinalScript.cs
View file @
f48229e1
...
...
@@ -89,6 +89,7 @@ public class FinalScript : MonoBehaviour
cam1
.
SetActive
(
false
);
yield
return
new
WaitForSeconds
(
11
);
BabyAnim
.
SetBool
(
"End"
,
true
);
yield
return
new
WaitForSeconds
(
2
);
GameManager
gM
=
FindObjectOfType
<
GameManager
>();
gM
.
CreditScene
();
...
...
Assets/_Game/Scripts/UI/MenuController.cs
View file @
f48229e1
...
...
@@ -51,6 +51,14 @@ public class MenuController : MonoBehaviour
// gm.EnableIngameUI(false);
}
void
FixedUpdate
()
{
if
(
Input
.
GetKey
(
"l"
))
{
SceneManager
.
LoadScene
(
"Ending"
,
LoadSceneMode
.
Single
);
}
}
public
void
NewGameButton_Click
()
{
...
...
Write
Preview
Supports
Markdown
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