Add win condition and related assets
Introduced new animations, prefabs, scripts, and textures to implement a win condition in the game. Updated InventoryScript to trigger the win state when the required coin count is reached. Added supporting assets such as win animations, GUI elements, and sound effects.
This commit is contained in:
1 parent
d8731c1c23
commit
e22c5cbada
68 files changed
+246
-8
No files matched your search
@@ -0,0 +1,21 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class ReloadScript : MonoBehaviour {
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
}
|
||||
|
||||
void loadMenu()
|
||||
{
|
||||
Application.LoadLevel("menu");
|
||||
InventoryScript.coinCount = 0;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user