// Use this for initialization void Start() { text = GetComponent <Text>(); i = 0; textAppearanceManager = GetComponent <TextAppearanceManager>(); canContinue = true; narratorSentences = loadXmlScript.NarratorClass; anim = majorelCliff.GetComponent <Animator>(); fadeoutScript = fade.GetComponent <FadeOutController>(); fadeInScript = fade.GetComponent <FadeInController>(); }
private void Awake() { if (Instance == null) { Instance = this; } else { Destroy(gameObject); } }