#if COM_UNITY_MODULES_PHYSICS using UnityEngine; namespace Unity.Netcode.Components { /// /// NetworkRigidbody allows for the use of on network objects. By controlling the kinematic /// mode of the and disabling it on all peers but the authoritative one. /// [RequireComponent(typeof(NetworkTransform))] [RequireComponent(typeof(Rigidbody))] [AddComponentMenu("Netcode/Network Rigidbody")] public class NetworkRigidbody : NetworkRigidbodyBase { public Rigidbody Rigidbody => m_InternalRigidbody; protected virtual void Awake() { Initialize(); } } } #endif // COM_UNITY_MODULES_PHYSICS