// Use this for initialization
 void Start()
 {
     dManager = FindObjectOfType<DialogueUIManager>();
     reader = FindObjectOfType<ReadJson>();
     dialogue = reader.GetCharacterDialogue("sortingGameIntro");
     currentDialogueBlock = dialogue[0];
     Time.timeScale = 0;
     blockFinished = false;
     justStarted = true;
 }
Пример #2
0
 void Start()
 {
     dialogue = FindObjectOfType<DialogueUIManager>();
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     npcAdapter = GetComponent<NpcAdapter>();
     //npcController = GetComponent<NpcController>();
     npcController = GetComponent<NPC_BoxMovementController>();
     zone = GetComponentInChildren<NpcInteractionZone>();
     dManager = FindObjectOfType<DialogueUIManager>();
     iManager = FindObjectOfType<InstructionManager>();
     player = FindObjectOfType<PlayerAdapter>().gameObject;
 }