예제 #1
0
    private void Init()
    {
        ResService resService = GetComponent <ResService>();

        resService.InitSvc();
        AudioService audioService = GetComponent <AudioService>();

        audioService.InitSvc();

        BattleSystem gameSystem = GetComponent <BattleSystem>();

        gameSystem.InitSys();
        EnterExitSystem loginExitSystem = GetComponent <EnterExitSystem>();

        loginExitSystem.InitSys();

        SceneManager.LoadScene(ConstAttribute.loginSceneName);
    }