Esempio n. 1
0
 public void CheckState()
 {
     CurrentStoryState       = InkStoryManager.GetVariableStateAsString("currentStoryState");
     BackgroundImage.texture = StoryBackgroundStates[CurrentStoryState];
     PlayerTextUI.text       = CurrentStoryState;
     print(CurrentStoryState);
     if (CurrentStoryState == "MAP")
     {
         OnMapState();
     }
     else
     {
         OnMenuStates();
     }
 }