Exemple #1
0
    public void Init()
    {
        animator   = GetComponent <Animator>();
        action     = GetComponent <Boss2_Actions>();
        controller = GetComponent <Boss2_Controller>();

        ChangeSpeed(digSpeed);
    }
Exemple #2
0
    protected override void Init()
    {
        action = GetComponent <Boss2_Actions>();
        move   = GetComponent <Boss2_Move>();

        actionBase = action;
        moveBase   = move;

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

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