NodeWorld

NWWorldConfig

La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.

csharp
public sealed class NWWorldConfig : ScriptableObject

Namespace NodeWorld.SDK.Shared.

The settings of a world, an asset next to its scene: identity, FL# scripts, Play mode player and platforms. It goes into the world's bundle, so it holds no path of the creator's computer: the FL# tools come with the SDK, and the World Publisher keeps the output folder in the project's user settings.

Fields

WorldId

csharp
public string WorldId

The world's ID: the name of its folder on servers. Letters, digits, - and _.

DisplayName

csharp
public string DisplayName

The name players see.

Description

csharp
public string Description

The description players see.

Adult

csharp
public bool Adult

The world is 18+: written in its manifest, told to the central API by the servers that host it.

FluxSharpSources

csharp
public Object[] FluxSharpSources

The world's FL# script files (.cs).

PlayModeAccountId

csharp
public string PlayModeAccountId

The local player's account ID in Play mode (Player.accountId).

PlayModeDisplayName

csharp
public string PlayModeDisplayName

The local player's name in Play mode (Player.displayName).

BuildWindows

csharp
public bool BuildWindows

Publish for Windows (x86-64).

BuildLinux

csharp
public bool BuildLinux

Publish for Linux (x86-64).

BuildAndroid

csharp
public bool BuildAndroid

Publish for Android (Meta Quest, ARM64).

BuildLinuxArm64

csharp
public bool BuildLinuxArm64

Publish the FL# scripts for Linux ARM64 servers (no bundle: servers do not load the scene's bundle).