private void Start()
 {
     if (m_rankingInGame == null)
     {
         m_rankingInGame = FindObjectOfType <RankingInGame>();
     }
     if (m_crushPointManager == null)
     {
         m_crushPointManager = FindObjectOfType <CrushPointManager>();
     }
     m_restrictionNum = DebugModeGame.GetProperty().m_debugMode ? DebugModeGame.GetProperty().m_debugPlayerNum - 1 : 6 - 1;
 }
    // Use this for initialization
    void Start()
    {
        if (rankingInGame == null)
        {
            rankingInGame = FindObjectOfType <RankingInGame>();
            if (rankingInGame == null)
            {
                Debug.LogError("RankingInGameがシーンに存在しません");
            }
        }

        if (CrushPointManager == null)
        {
            CrushPointManager = FindObjectOfType <CrushPointManager>();
            if (CrushPointManager == null)
            {
                Debug.LogError("CrushPointManagerがジーンに存在しません");
            }
        }
    }