Skip to content

Commit cf27a00

Browse files
update
Making NetworkTransformState.SwitchTransformSpaceWhenParented internal as it doesn't really need to be public for its use case.
1 parent 5f34872 commit cf27a00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

com.unity.netcode.gameobjects/Runtime/Components/NetworkTransform.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ internal uint BitSet
128128
/// When set, non-authority instances will smoothly transition between
129129
/// world and local space.
130130
/// </summary>
131-
public bool SwitchTransformSpaceWhenParented
131+
internal bool SwitchTransformSpaceWhenParented
132132
{
133133
get => GetFlag(k_SwitchTransformSpaceWhenParented);
134-
internal set
134+
set
135135
{
136136
SetFlag(value, k_SwitchTransformSpaceWhenParented);
137137
}

0 commit comments

Comments
 (0)