void Update()
    {
        session_.process_packet();

        //UpdateEnemiesTank();

        /*
         * // 주인공 업데이트
         * if (interval_ >= 200)
         * {
         *  Send_MOVE_OBJECT();
         *  interval_ = 0.0f;
         * }
         * else
         * {
         *  var delta = Time.deltaTime;
         *  interval_ = interval_ + (delta * 1000);
         * }
         */

        //

        /*
         * if (is_interpolation)
         * {
         *  UpdateEnemiesTank();
         * }
         * else
         * {
         *  UpdateEnemiesTank2();
         * }
         */

        UpdateEnemiesTank2();

        //ping_text.text = protobuf_session.ping_time.ToString();
        delta_text.text = Time.deltaTime.ToString();
    }
Esempio n. 2
0
    void Update()
    {
        session_.process_packet();

        //Debug.Log("update");
    }