Skip to main content

Configuration

Create configuration

Create empty game object with name for example Ragon Network, add next component:

  • Ragon Network

Create Ragon Connection Configuration:

Ragon Configuration:

Configuration has several fields

  • Type - Type of connection (UDP|WebSocket)
  • Address - Address your Ragon Relay Server
  • Protocol - Protocol version of your game
  • Port - Port your Ragon Relay Server
  • Fallback - Fallback configuration on failed connection to current

Example:

Set configuration at Ragon Network

Prefab Registry

Ragon uses for mapping prefabs with they are network id in prefab registry

Create registry with name RagonPrefabRegistry in folder Resources:

Example:

Set configuration at Ragon Network