Esempio n. 1
0
 // 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>());
 }
Esempio n. 2
0
 void Start()
 {
     battleCamera.SetActive(false);
     overworldSystem = overworldSysObject.GetComponent <OverworldSystem>();
     battleSystem    = battleSysObject.GetComponent <BattleSystemWLevelling>();
 }