Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 4.36 KB

README.md

File metadata and controls

90 lines (67 loc) · 4.36 KB

English | Русский

⭐Custom Build and Run Utility for Unity⭐

Made With Unity License Last Commit Repo Size Downloads Last Release GitHub stars GitHub user stars

Overview

Custom Build and Run is a Unity editor extension designed to streamline the testing and development process of multiplayer games using Unity and Nakama Server. With just a single command, it automates the building and launching of multiple standalone game instances alongside entering Play Mode in the Unity Editor, allowing you to test matchmaking and in-game interactions seamlessly.

Why Use Custom Build and Run?

This utility addresses the common challenge of testing multiplayer interactions in Unity. Traditionally, testing such features requires manual coordination between building the game, running multiple instances, and managing server connections. Custom Build and Run simplifies this into one step, saving time and reducing errors.

Features

  • One-Click Build and Run: Compile and run multiple standalone game instances with preconfigured settings using a single menu command or hotkey.
  • Simultaneous Editor Play Mode: Automatically enters Play Mode in the Unity Editor post-build for each instance, enabling immediate testing of multiplayer features.
  • Streamlined Workflow: Focus on development and testing rather than repetitive setup tasks, enhancing productivity and iteration speed.

Installation

  1. Clone this repository or download the latest release.
  2. Import the CustomBuildAndRun.cs script into your Unity project's Editor folder.
  3. Access the utility through the RimuruDev Tools menu or by pressing the assigned hotkey (%F1 by default).

Usage

After installation, the utility can be triggered via the editor menu RimuruDev Tools/Build and Run + Play Editor Mode or by using the hotkey %F1. Ensure your scenes are properly configured in the Build Settings and that the Nakama server is running.

Building and Running

Use the menu command or hotkey to initiate the build. The utility will:

  • Compile the game into a predefined build folder for each instance.
  • Launch each built game instance.
  • Enter Play Mode in the Unity Editor automatically for each instance.
RimuruDev Tools/Build and Run + Play Editor Mode %F1

image

Dependencies

Unity Editor: Ensure you have Unity Editor installed.

Contributing

If you have suggestions for improving the utility or have encountered issues, please feel free to contribute:

  • Fork the repository.
  • Create your feature branch (git checkout -b feature/AmazingFeature).
  • Commit your changes (git commit -am 'Add some AmazingFeature').
  • Push to the branch (git push origin feature/AmazingFeature).
  • Open a pull request.

Developed by RimuruDev