Skip to content

Commit 79b602a

Browse files
fix
Fix the issue where a user can still set InLocalSpace when SwitchTransformSpaceWhenParented is enabled.
1 parent 1f435e0 commit 79b602a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

com.unity.netcode.gameobjects/Editor/NetworkTransformEditor.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,10 @@ private void DisplayNetworkTransformProperties()
192192
{
193193
m_TickSyncChildren.boolValue = true;
194194
}
195-
EditorGUILayout.PropertyField(m_InLocalSpaceProperty);
195+
else
196+
{
197+
EditorGUILayout.PropertyField(m_InLocalSpaceProperty);
198+
}
196199
if (!networkTransform.HideInterpolateValue)
197200
{
198201
if (networkTransform.Interpolate)

0 commit comments

Comments
 (0)