chore(NetworkTransformBase): Removed Header attributes

This commit is contained in:
MrGadget 2024-04-16 13:38:02 -04:00
parent b89fd6b8ba
commit 8a52a97031

View File

@ -60,7 +60,7 @@ public abstract class NetworkTransformBase : NetworkBehaviour
public readonly SortedList<double, TransformSnapshot> serverSnapshots = new SortedList<double, TransformSnapshot>(16);
// selective sync //////////////////////////////////////////////////////
[Header("Synchronization - Do Not Change At Runtime")]
[Header("Configuration - Do Not Change At Runtime")]
[SerializeField, Tooltip("Selectively syncs position, rotation, and scale.\nDo Not Change At Runtime!")]
internal SyncInterpolateOptions synchronizationSelections = SyncInterpolateOptions.Default;
@ -70,7 +70,6 @@ public abstract class NetworkTransformBase : NetworkBehaviour
// interpolation is on by default, but can be disabled to jump to
// the destination immediately. some projects need this.
[Header("Interpolation - Do Not Change At Runtime")]
[SerializeField, Tooltip("Interpolate smoothly between snapshots.\nDo Not Change At Runtime!")]
internal SyncInterpolateOptions interpolationOptions = SyncInterpolateOptions.Default;
@ -78,7 +77,6 @@ public abstract class NetworkTransformBase : NetworkBehaviour
public bool interpolateRotation => (interpolationOptions & SyncInterpolateOptions.Rotation) == SyncInterpolateOptions.Rotation;
public bool interpolateScale => (interpolationOptions & SyncInterpolateOptions.Scale) == SyncInterpolateOptions.Scale;
[Header("Bandwidth Savings - Do Not Change At Runtime")]
[SerializeField, Tooltip("Settings for reducing bandwidth usage.\nDo Not Change At Runtime!")]
internal BandwidthSavingsOptions bandwidthSavingsOptions = BandwidthSavingsOptions.Default;
@ -86,7 +84,6 @@ public abstract class NetworkTransformBase : NetworkBehaviour
public bool compressRotation => (bandwidthSavingsOptions & BandwidthSavingsOptions.CompressRotation) == BandwidthSavingsOptions.CompressRotation;
// CoordinateSpace ///////////////////////////////////////////////////////////
[Header("Coordinate Space - Do Not Change At Runtime")]
[Tooltip("Local by default. World may be better when changing hierarchy, or non-NetworkTransforms root position/rotation/scale values.")]
public CoordinateSpace coordinateSpace = CoordinateSpace.Local;