did a minor tweak

This commit is contained in:
Zoe J committed 2022-02-26 18:45:46 -06:00
1 parent 8f2a693284
commit 11a2af2f5f
302 files changed
+1022 -167

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TutorialScript : Trigger
{
public GameObject tutorialText;
public int currentLevel;
public void Start() {
currentLevel = PlayerPrefs.GetInt("CurrentLevel");
}
public override void Action()
{
if(currentLevel == 1){
tutorialText.SetActive(true);
}
}
}