using Unity.Netcode.Components; namespace Jankenbots.Prototype { /// /// Owner-authoritative NetworkTransform. The default NetworkTransform is /// SERVER-authoritative (right for the host-simulated bot/ball). For a /// run-around PLAYER avatar we want the owning client to be the source of /// truth so their own movement is lag-free — the owner writes its transform /// and NGO replicates it to everyone else. This is the canonical NGO pattern /// (override OnIsServerAuthoritative → false). /// [UnityEngine.DisallowMultipleComponent] public class OwnerAuthNetworkTransform : NetworkTransform { protected override bool OnIsServerAuthoritative() => false; } }