Skip to content

Commit

Permalink
Update LevelLoop.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
knela96 committed Dec 15, 2019
1 parent a9cdeaf commit a2666c5
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Police Station Simulator/Assets/Scripts/LevelLoop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,7 @@ public float getCycle()

public void UpdateObj1()
{
if (Input.GetKeyDown("f1"))
{
num_liberated = 5;
}

obj1.text = string.Format("Liberated: ({0}/5)",num_liberated);
GameObject go = GameObject.Find("Mission");
if (num_liberated == 5 && go != null)
Expand All @@ -294,10 +291,7 @@ public void UpdateObj1()
}
public void UpdateObj2()
{
if (Input.GetKeyDown("f2"))
{
num_escaped = 3;
}

obj2.text = string.Format("Escaped: ({0}/2)",num_escaped);
GameObject go = GameObject.Find("Mission");
if (num_escaped == 3 && go != null)
Expand Down

0 comments on commit a2666c5

Please sign in to comment.