> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor.client.unity.editor/ks.reactor.client.unity.editor.ksreactormenu.md).

# Class ksReactorMenu

Namespace: [KS.Reactor.Client.Unity.Editor](/reactor/api-reference/ks.reactor.client.unity.editor.md)\
Assembly: KSUnity-Source.dll

This class is responsible for the file menu and context menu GUIs.

```csharp
public class ksReactorMenu
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [ksReactorMenu](/reactor/api-reference/ks.reactor.client.unity.editor/ks.reactor.client.unity.editor.ksreactormenu.md)

#### Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)), [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)), [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode), [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype), [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Methods

### BuildConfig() <a href="#ks_reactor_client_unity_editor_ksreactormenu_buildconfig" id="ks_reactor_client_unity_editor_ksreactormenu_buildconfig"></a>

Builds the current scene locally.

```csharp
[MenuItem("Reactor/Build Scene Configs %F2", priority = 201)]
public static void BuildConfig()
```

### BuildServerRuntime() <a href="#ks_reactor_client_unity_editor_ksreactormenu_buildserverruntime" id="ks_reactor_client_unity_editor_ksreactormenu_buildserverruntime"></a>

Builds the server runtime.

```csharp
[MenuItem("Reactor/Build KSServerRuntime %F3", priority = 202)]
public static bool BuildServerRuntime()
```

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

True if the server runtime built successfully.

### Init() <a href="#ks_reactor_client_unity_editor_ksreactormenu_init" id="ks_reactor_client_unity_editor_ksreactormenu_init"></a>

Opens Reactor settings window.

```csharp
[MenuItem("Reactor/Settings", false, 101)]
public static void Init()
```

### OpenPublishWindow() <a href="#ks_reactor_client_unity_editor_ksreactormenu_openpublishwindow" id="ks_reactor_client_unity_editor_ksreactormenu_openpublishwindow"></a>

Publishes the current scene online.

```csharp
[MenuItem("Reactor/Publishing", priority = 102)]
public static void OpenPublishWindow()
```

### RebuildAll() <a href="#ks_reactor_client_unity_editor_ksreactormenu_rebuildall" id="ks_reactor_client_unity_editor_ksreactormenu_rebuildall"></a>

Rebuilds the server runtime.

```csharp
[MenuItem("Reactor/Rebuild All %F4", priority = 203)]
public static void RebuildAll()
```
