DOTSNET
  • Documentation
  • Overview
    • Installation
    • Recommended Reading
    • Platforms
    • Changelog
  • Examples
    • Benchmark
    • Chat
    • Pong
    • Physics
  • User Manual
    • Migrating from Mirror
    • Authoring
    • Server & Client Worlds
    • Selective System Authoring
    • Dependency Injection
    • NetworkMessage
    • NetworkServerSystem
    • NetworkClientSystem
    • NetworkIdentity
    • NetworkComponent
    • PrefabSystem
    • NetworkReader/Writer
    • Bitpacking
    • Authentication
    • Interest Management
    • Transports
    • Networking & Burst
    • Networking & Jobs
    • Compression
    • Utilities & Extensions
    • Unity.Physics Support
    • Hybrid Renderer V2 / URP
    • Benchmarks
Powered by GitBook
On this page
  1. User Manual

Authoring

Authoring is a way to configure ECS systems which would otherwise be hidden in memory

PreviousMigrating from MirrorNextServer & Client Worlds

Last updated 4 years ago

ECS Entities can be found in the Scene, and as prefabs as regular GameObjects.

Add the ConvertToNetworkEntity component to them, so that Unity automatically converts them to Entities into either the Server scene, the Client scene, or both:

Prefabs need to be dragged into the PrefabSystem scene object’s registered Prefabs:

Scene Objects are converted automatically.

System Authoring components simply copy the exposed fields to the actual systems in the ECS world.

Authoring likely won't be needed in the future as Unity adds better DOTS support.

Right now, Unity has no Inspector for ECS Systems. They simply live in memory without us being able to modify their public variables. This is why DOTSNET has an authoring component for each system, like NetworkServerAuthoring: