コード例 #1
0
    // Update is called once per frame
    void Update()
    {
        // 次に変更するメニューを取得
        if (gearScript)
        {
            nextMode = gearScript.GetMode();
        }



        // メニュー変更
        ChangeMode();


/*
 * if ( gearScript && !gearScript.IsPauseRotation() && Input.GetKeyDown(KeyCode.Space) ) {
 *
 *          switch ( mode ) {
 *
 *              case GearScript.Mode.GameStart :
 *
 *                  Application.LoadLevel( "ExplodeBarrel" ); break;
 *          }
 *      }*/
    }