NodeWorld

Portals

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

csharp
public static class Portals

Namespace NodeWorld.Flux.

The portals of the world, created by the scripts that run on the server (World.isServer).

Methods

Spawn

csharp
public static bool Spawn(string portalId, PortalOptions options)

Creates the portal; false if the server refused it (or on a client).

Update

csharp
public static bool Update(string portalId, PortalOptions options)

Changes a portal created by the world; false if it does not exist.

Despawn

csharp
public static bool Despawn(string portalId)

Closes a portal the world made; false if it does not exist (or on a client).