World

csharp
public static class World

Namespace NodeWorld.Flux.

Where the scripts run, and which world and instance.

Properties

isServer

csharp
public static bool isServer { get; }

The scripts run on the server (true) or on the client of a player (false).

isMobile

csharp
public static bool isMobile { get; }

The client runs on Android or iOS (a standalone headset: Quest); false on PC and on the server.

worldId

csharp
public static string worldId { get; }

The World ID of the world (the name of its folder on servers).

instanceId

csharp
public static string instanceId { get; }

The id of the instance the world runs in.