예제 #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>());
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     player    = GameObject.Find("player");
     tutscript = player.GetComponent <Tutscript>();
 }