Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
igem-quantifly
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PLN
igem-quantifly
Commits
0220008d
Unverified
Commit
0220008d
authored
Oct 27, 2016
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Main: Remove references to Vial{1,2,3}
parent
2782abd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
UIController.cs
Assets/Scripts/UIController.cs
+0
-12
No files found.
Assets/Scripts/UIController.cs
View file @
0220008d
...
@@ -11,9 +11,6 @@ public class UIController : MonoBehaviour
...
@@ -11,9 +11,6 @@ public class UIController : MonoBehaviour
public
Text
Score
;
public
Text
Score
;
public
Text
HighScore
;
public
Text
HighScore
;
public
Text
NbVials
;
public
Text
NbVials
;
public
Image
Vial1
;
public
Image
Vial2
;
public
Image
Vial3
;
public
Image
Battery
;
public
Image
Battery
;
public
Image
Progression
;
public
Image
Progression
;
public
Sprite
[]
ProgressionSprites
;
public
Sprite
[]
ProgressionSprites
;
...
@@ -26,9 +23,6 @@ public class UIController : MonoBehaviour
...
@@ -26,9 +23,6 @@ public class UIController : MonoBehaviour
{
{
_player
=
GameObject
.
FindWithTag
(
"Player"
).
GetComponent
<
Player
>();
_player
=
GameObject
.
FindWithTag
(
"Player"
).
GetComponent
<
Player
>();
HighScore
.
enabled
=
false
;
HighScore
.
enabled
=
false
;
Vial1
.
enabled
=
false
;
Vial2
.
enabled
=
false
;
Vial3
.
enabled
=
false
;
_oldHs
=
PlayerPrefs
.
GetInt
(
"highscore"
);
_oldHs
=
PlayerPrefs
.
GetInt
(
"highscore"
);
}
}
...
@@ -53,12 +47,6 @@ public class UIController : MonoBehaviour
...
@@ -53,12 +47,6 @@ public class UIController : MonoBehaviour
private
void
HandlePowerUps
()
private
void
HandlePowerUps
()
{
{
if
(
_player
.
NbVials
>=
5
)
Vial1
.
enabled
=
true
;
if
(
_player
.
NbVials
>=
10
)
Vial2
.
enabled
=
true
;
if
(
_player
.
NbVials
>=
15
)
Vial3
.
enabled
=
true
;
}
}
private
void
DisplayBattery
()
private
void
DisplayBattery
()
...
...
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