mirror of
https://github.com/Steffo99/keep-everything-alive.git
synced 2024-11-21 17:04:20 +00:00
Hopefully fix final score
This commit is contained in:
parent
04dce22bf4
commit
581ee6e4fb
2 changed files with 5 additions and 1 deletions
|
@ -20,4 +20,8 @@ public class ScorePanel : MonoBehaviour
|
||||||
private void OnScoreChange(int previous, int current) {
|
private void OnScoreChange(int previous, int current) {
|
||||||
text.text = current.ToString();
|
text.text = current.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void OnEnable() {
|
||||||
|
text.text = gameController.Score.ToString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,7 +121,7 @@ PlayerSettings:
|
||||||
16:10: 0
|
16:10: 0
|
||||||
16:9: 1
|
16:9: 1
|
||||||
Others: 0
|
Others: 0
|
||||||
bundleVersion: 1.0
|
bundleVersion: 1.1
|
||||||
preloadedAssets: []
|
preloadedAssets: []
|
||||||
metroInputSource: 0
|
metroInputSource: 0
|
||||||
wsaTransparentSwapchain: 0
|
wsaTransparentSwapchain: 0
|
||||||
|
|
Loading…
Reference in a new issue