Some edits

This commit is contained in:
haitem
2021-01-31 15:12:34 +01:00
parent 684c17bf85
commit 97f67f18a2
2 changed files with 159 additions and 56 deletions

View File

@@ -316,6 +316,7 @@ public class PlayerManager : MonoBehaviour
{
if ((powerType.GetHashCode() - 1) == 3)
{
DataManager.Score(DataManager.Score() + 10);
DataManager.Level(SceneManager.GetSceneByName(nextSceneName).buildIndex);
SceneManager.LoadScene(nextSceneName);
}