Nebula
Editor

NebulaBuild

Builds the executables every Nebula role runs from.

generated from the sources
Static class in namespace Nebula.Editor · Packages/com.1by3.nebula/Editor/NebulaBuild.cs
public static class NebulaBuild

Builds the executables every Nebula role runs from. Workers and services run them with -batchmode -nographics -nebula-role ...; players run the Windows build as-is. Menu: Nebula > Build.

  • Windows player: Builds/Win64/Nebula.exe - the local mesh, bots and the human client.
  • Linux dedicated server: Builds/Linux64/Nebula.x86_64 - what runs on cloud VMs (orchestrator, gateway, workers). No graphics subsystem at all, so it needs no display libraries on the machine.

Batchmode: Unity -batchmode -quit -projectPath . -executeMethod Nebula.Editor.NebulaBuild.BuildWindowsBatch or ...NebulaBuild.BuildLinuxServerBatch.

Properties

ProjectRoot

public static string ProjectRoot { get; }

BuildDir

public static string BuildDir { get; }

ExecutablePath

public static string ExecutablePath { get; }

LinuxBuildDir

public static string LinuxBuildDir { get; }

LinuxExecutablePath

public static string LinuxExecutablePath { get; }

MacBuildDir

public static string MacBuildDir { get; }

MacExecutablePath

public static string MacExecutablePath { get; }

Methods

BuildWindowsMenu

[MenuItem("Nebula/Build/Windows Player (Mono, development)", priority = 0)]
public static void BuildWindowsMenu();

BuildLinuxServerMenu

[MenuItem("Nebula/Build/Linux Dedicated Server (Mono, development)", priority = 1)]
public static void BuildLinuxServerMenu();

BuildWindows

public static BuildReport BuildWindows();

BuildLinuxServer

public static BuildReport BuildLinuxServer();

BuildMac

public static BuildReport BuildMac();

macOS player (Builds/MacOS/Nebula.app): what nebula start runs on a Mac.

BuildWindowsBatch

public static void BuildWindowsBatch();

Entry point for batchmode builds; exits with a non-zero code on failure.

BuildLinuxServerBatch

public static void BuildLinuxServerBatch();

Entry point for batchmode Linux server builds; exits with a non-zero code on failure.

BuildMacBatch

public static void BuildMacBatch();

Entry point for batchmode macOS player builds; exits with a non-zero code on failure.

On this page