mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
chore(NetworkTransformBase): Removed Header attributes
This commit is contained in:
parent
b89fd6b8ba
commit
8a52a97031
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user