Skip to main content

SetWorldSyncedData

This function sets world data that syncs to all clients.

Syntax

```csharp void NAPI.Data.SetWorldSharedData(string key, object value); ```

Required Arguments

  • key: parameter input should be in string type.
  • value: parameter input should be in object type.

Usage example(s)

Example Description

```csharp NAPI.Data.SetWorldSharedData("mykey", 1); ```