//---------------------------------------------------------------------- //! @brief ランキングの描画処理 //! //! @param[in] なし //! //! @return なし //---------------------------------------------------------------------- public void DrawRanking() { // 今までのランキング情報の取得 m_ranking = GetComponent <QuickRanking>(); m_ranking.FetchRanking(); m_rankImg.SetActive(true); m_nameImg.SetActive(true); m_timeImg.SetActive(true); // スコアテキストの生成 =========================================================- for (int i = 0; i < m_ranking.count; i++) { AddScoreText(i); } }
// Use this for initialization //---------------------------------------------------------------------- //! @brief Startメソッド //! 各値の初期化 //! //! @param[in]なし //! //! @return なし //---------------------------------------------------------------------- void Start() { m_rankText = new List <GameObject>(); m_nameText = new List <GameObject>(); m_scoreText = new List <GameObject>(); m_rankImage = new List <GameObject>(); m_ranking = GetComponent <QuickRanking>(); m_saveStr = GameObject.FindGameObjectWithTag("Data"); m_ranking.FetchRanking(); controllerInput = inputer.GetComponent <ControllerInput>(); inputer.SetActive(false); controllerInput.enabled = false; //m_inputField.SetActive(false); //m_input.enabled = false; m_sv = m_saveStr.GetComponent <SaveStr>(); m_drawFlag = true; m_rankingFlag = false; m_score = m_sv.GetResultScore(); m_transparencyFlag = true; m_backgroundFlag = false; }