Implemented end game/level trigger
This commit is contained in:
@@ -65,10 +65,13 @@ public class GameScript : MonoBehaviour
|
||||
}
|
||||
|
||||
if(clicked)
|
||||
{
|
||||
|
||||
{
|
||||
pickedUpItem.transform.position = mousePos2D;
|
||||
}
|
||||
|
||||
if (GameObject.FindWithTag("Dirt") == null) {
|
||||
//Debug.Log("Beat the game/Next Level");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user