Exemplo n.º 1
0
    // 終了時
    //void OnDisable()
    //{
    //    //  BGM
    //    oulAudio.StopBGM();

    //}

    // Update is called once per frame
    void Update()
    {
        if (MessageManager.isNetwork)
        {
            // ステート同期チェック
            if (currentStateNames[0] != currentStateNames[1])
            {
                if (debugText)
                {
                    debugText.text = "ステート同期中\r\n" + "自分:" + currentStateNames[0] + "\r\n" + "相手:" + currentStateNames[1];
                }
                return;
            }
        }

        // ステートマシン更新
        stateMachine.Update();
    }
Exemplo n.º 2
0
    // Update is called once per frame
    void Update()
    {
        // これより上に書かない。
        oulInput.Update();

        SeigenNoTextUpdate();
        //GUI.Label(
        //new Rect(0.0f, 0.0f, Screen.width, Screen.height),
        //"マウスX: ");

        // アニメーション用
        CollectCardGroup.GetComponent <ScreenOutAppeared>().SelfUpdate();

        for (int i = 0; i < PlayerDeckData.deckMax; i++)
        {
            m_aMyDeckCard[i].GetComponent <ScreenOutAppeared>().SelfUpdate();
        }

        // エフェクト更新
        EffectRiipleCard.GetComponent <Ripple>().SelfUpdate();
        EffectRiipleCardBack.GetComponent <Ripple>().SelfUpdate();
        EffectRiipleGraspCardBack.GetComponent <Ripple>().SelfUpdate();


        // 持ってるカードの演出
        m_uGraspCard.GetComponent <BoyonAppeared>().SelfUpdate();
        m_uGraspCard.GetComponent <ScreenOutAppeared>().SelfUpdate();
        m_uGraspCard.GetComponent <ScaleAppeared>().SelfUpdate();

        m_uGraspVanishCard.GetComponent <Ripple>().SelfUpdate();
        m_uGraspVanishCard.GetComponent <uGUICard>().AlphaSetUpdate();


        Arrow.GetComponent <Shake>().SelfUpdate();
        DeckPlateBoom.GetComponent <AlphaWave>().SelfUpdate();

        m_pStateMachine.Update();

        return;
    }
Exemplo n.º 3
0
 // Update is called once per frame
 void Update()
 {
     stateMachine.Update();
 }