예제 #1
0
    // Start is called before the first frame update
    public void Init()
    {
        action     = GetComponent <Boss5_Action>();
        move       = GetComponent <Boss5_Move>();
        controller = GetComponent <Boss5_Controller>();
        shield     = GetComponent <Boss5_Shield>();

        ChangeCommandList(0);

        StartCoroutine(Intro());
    }
예제 #2
0
    protected override void Init()
    {
        action  = GetComponent <Boss5_Action>();
        move    = GetComponent <Boss5_Move>();
        command = GetComponent <Boss5_Commands>();
        shield  = GetComponent <Boss5_Shield>();

        actionBase = action;
        moveBase   = move;

        if (FlagManager.instance.easyMode)
        {
            EasyMode();
        }


        action.Init();
        move.Init();
        command.Init();
        shield.Init();
    }