示例#1
0
    // 敵設定
    virtual public void SetEnemy(int mp, int dp)
    {
        movePaternClass = Base_MovePatern.SetMovePaternClass(moveParameters[mp]);
        movePaternClass.Init(this.gameObject);

        danmakuPaternClass = Base_DanmakuPatern.SetDanmakuPaternClass(danmakuParameters[dp]);
        danmakuPaternClass.Init(this.gameObject);
    }
示例#2
0
    // フェーズ切り替え
    private void ChangePhase(Phase next)
    {
        movePaternClass = Base_MovePatern.SetMovePaternClass(moveParameters[(int)next - 1]);
        movePaternClass.Init(this.gameObject);

        danmakuPaternClass = Base_DanmakuPatern.SetDanmakuPaternClass(danmakuParameters[(int)next - 1]);;
        danmakuPaternClass.Init(this.gameObject);

        phase = next;
    }