コード例 #1
0
    private void Init()
    {
        cc = GameObject.FindGameObjectWithTag("Player").GetComponent <CharacterController>();

        audioManager    = new AudioManager(this);
        uiManager       = new UIManager(this);
        sceneManager    = new SceneManager(this);
        positionManager = new PositionManager(this);
        recallManager   = new RecallManager(this);
        talkManager     = new TalkManager(this);
        headManager     = new HeadManager(this);

        audioManager.OnInit();
        uiManager.OnInit();
        sceneManager.OnInit();
        positionManager.OnInit();
        recallManager.OnInit();
        talkManager.OnInit();
        headManager.OnInit();
    }