void Start() { constantRotate = false; eventReset = false; eventIndex = 0; fakeItachi = FindObjectOfType<FakeI>(); fakeCyborg = FindObjectOfType<FakeC>(); fakeSonic = FindObjectOfType<FakeS>(); animI = fakeItachi.GetComponent<Animator>(); animC = fakeCyborg.GetComponent<Animator>(); animS = fakeSonic.GetComponent<Animator>(); mainCamera = FindObjectOfType<CameraController>(); }
void Start() { startingTextIndex -= 1; textIndex = startingTextIndex; MessageController.textSelection = textIndex; startEndingChatBoxDialogue = true; currChatBoxAvatar = GetComponent<Image>(); fakeItachi = FindObjectOfType<FakeI>(); fakeCyborg = FindObjectOfType<FakeC>(); fakeSonic = FindObjectOfType<FakeS>(); animI = fakeItachi.GetComponent<Animator>(); animC = fakeCyborg.GetComponent<Animator>(); animS = fakeSonic.GetComponent<Animator>(); }
void Start() { FindObjectOfType<MasterController>().moveSpeed = 0.0f; startingTextIndex -= 1; textIndex = startingTextIndex; MessageController.textSelection = textIndex; startChatBoxDialogue = true; currChatBoxAvatar = GetComponent<Image>(); fakeItachi = FindObjectOfType<FakeI>(); fakeCyborg = FindObjectOfType<FakeC>(); fakeSonic = FindObjectOfType<FakeS>(); animI = fakeItachi.GetComponent<Animator>(); animC = fakeCyborg.GetComponent<Animator>(); animS = fakeSonic.GetComponent<Animator>(); L1EM = FindObjectOfType<Level1EventManager>(); }