// Start is called before the first frame update void Start() { gameSystems = GameObject.Find("GameSystems"); tutorialScript = GameObject.Find("Tutorial Canvas").GetComponent <Tutscript>(); overworldController = GameObject.Find("OverworldSystem"); playerMain = GameObject.FindGameObjectWithTag("OneOver"); overworldSystem = overworldController.GetComponent <OverworldSystem>(); encounter = gameSystems.GetComponent <EncounterTwisting>(); movementControl = overworldController.GetComponent <PartyMovementControllerMerged>(); battleSystem = GameObject.Find("BattleSystem").GetComponent <BattleSystemWLevelling>(); GetComponent <UnitWLevelling>().EnemyInit(GetComponent <UnitWLevelling>()); }
// Use this for initialization void Start() { player = GameObject.Find("player"); tutscript = player.GetComponent <Tutscript>(); }