Import TMPro. Add init vers of question formulation
This commit is contained in:
@@ -19,6 +19,8 @@ public class LevelLoader : Singleton<LevelLoader>
|
||||
|
||||
public List<DoorManager> Doors = new List<DoorManager>();
|
||||
public List<GuardManager> Guards = new List<GuardManager>();
|
||||
|
||||
public JObject SpeechTree { private set; get; }
|
||||
|
||||
void Start()
|
||||
{
|
||||
@@ -56,9 +58,8 @@ public class LevelLoader : Singleton<LevelLoader>
|
||||
}
|
||||
|
||||
|
||||
//dynamic dialog dree
|
||||
var speechTree = JObject.Parse(levels[0].text)["dialog"] as JObject;
|
||||
|
||||
//dynamic dialog tree
|
||||
SpeechTree = JObject.Parse(levels[0].text)["dialog"] as JObject;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user