メインコンテンツまでスキップ

Byte Wars を複製して実行する - 初期設定 - (Unity モジュール)

Last updated on February 4, 2026

注釈:本資料はAI技術を用いて翻訳されています。

Byte Wars リポジトリを複製する

Byte Wars プロジェクトフォルダは Byte Wars Unity GitHub リポジトリにあり、以下のコマンドを使用して複製できます。

git clone https://github.com/AccelByte/accelbyte-unity-bytewars-game.git

Unity で Byte Wars プロジェクトを開く

Unity で Byte Wars を開くには、以下の手順に従います。

  1. Unity Hub から、Projects に移動し、Open をクリックします。
  2. ファイルエクスプローラーで、複製した Byte Wars フォルダを見つけて開きます。Byte Wars プロジェクトがプロジェクトパネルに追加されます。
  3. プロジェクトをクリックして Unity Editor で開きます。
注記

プロジェクトは EDITOR VERSION 列で 2022.3.50f1 以降 が選択された状態で開く必要があります。以前のバージョンが選択されている場合は、この列のドロップダウンを使用してプロジェクトに適したバージョンを選択してください。

ファイルエクスプローラーでプロジェクトを見つけて開くと、Unity Editor で自動的に開く場合があります。

Image shows the Byte Wars project listed in Unity Hub Unity Byte Wars initial setup

Byte Wars を実行する

Byte Wars は Unity Editor で直接実行することも、.exe 実行ファイルまたは Web ページ(WebGL)としてビルドして実行することもできます。

Unity Editor で Byte Wars を実行する

  1. Unity で Byte Wars を開いた状態で、Assets 内の Scenes フォルダに移動し、MainMenu シーンファイルをダブルクリックして、MainMenu シーンが Hierarchy で開いていることを確認します。

    Image shows Unity with the Scenes folder open, the MainMenu file selected, and MainMenu opened in the Hierarchy Unity Byte Wars initial setup

  2. Editor でゲームを再生します。

    Image shows the Unity play button highlighted Unity Byte Wars initial setup

パッケージから Byte Wars を実行する

  1. Unity で Byte Wars を開いた状態で、File > Build Settings に移動します。すべてをデフォルトのままにして、Build をクリックします。

    Image shows the Build Settings window in Unity with the Build button highlighted Unity Byte Wars initial setup

  2. ファイルエクスプローラーで、パッケージファイルを保存するフォルダを選択し、Select Folder をクリックします。

    Image shows a file explorer window with the package destination folder selected and the Select Folder button highlighted Unity Byte Wars initial setup

  3. ファイルのパッケージ化が完了するまで待ちます。

    Image shows the Unity file packaging progress bar Unity Byte Wars initial setup

  4. ファイルを保存したフォルダを開き、ByteWars.exe を開いてゲームをプレイします。

ヒント

以下のコマンドを使用して、ターミナルから直接 Byte Wars を実行できます。

ByteWars.exe -window-mode -screen-width 1280 -screen-height 720