void Awake() { bgCanvas = (Canvas)GameObject.Find("Canvas").GetComponent <Canvas>(); renderCanvas = (Canvas)GameObject.Find("SecondCanvas").GetComponent <Canvas>(); defaultText = (GameObject)Resources.Load("DefaultText"); upperText = (GameObject)Resources.Load("UpperText"); fightSystem = (GameObject)Resources.Load("FightManager"); textLibrary = scriptManager.GetComponent <TextLibrary>(); choiceLibrary = scriptManager.GetComponent <ChoiceLibrary>(); }