NodeWorld

NWWorldRef

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 NWWorldRef : MonoBehaviour

Namespace NodeWorld.SDK.Shared.

The NW World component: makes a scene a world, with its config, spawn point and respawn height.

Properties

Config

csharp
public NWWorldConfig Config { get; }

The world's NW World Config.

SpawnPoint

csharp
public Transform SpawnPoint { get; }

Where players arrive: the Spawn Point, or this object.

ForceDesktopInPlayMode

csharp
public bool ForceDesktopInPlayMode { get; }

Keyboard and mouse in Play mode even with a headset connected.

RespawnHeight

csharp
public float RespawnHeight { get; }

A player falling under this height (world y) comes back to the spawn point.