Skip to content

Commit 07dc14d

Browse files
committed
Unbreak breaking change
1 parent b303dce commit 07dc14d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3817,6 +3817,17 @@ protected void Initialize()
38173817

38183818
#region PARENTING AND OWNERSHIP
38193819
/// <inheritdoc/>
3820+
public override void OnLostOwnership()
3821+
{
3822+
base.OnLostOwnership();
3823+
}
3824+
3825+
/// <inheritdoc/>
3826+
public override void OnGainedOwnership()
3827+
{
3828+
base.OnGainedOwnership();
3829+
}
3830+
/// <inheritdoc/>
38203831
protected override void OnOwnershipChanged(ulong previous, ulong current)
38213832
{
38223833
// If we were the previous owner or the newly assigned owner then reinitialize
@@ -3831,17 +3842,6 @@ protected override void OnOwnershipChanged(ulong previous, ulong current)
38313842
private List<NetworkObject> m_ParentedChildren = new List<NetworkObject>();
38323843

38333844
private bool m_IsFirstNetworkTransform;
3834-
internal void ChildRegistration(NetworkObject child, bool isAdding)
3835-
{
3836-
if (isAdding)
3837-
{
3838-
m_ParentedChildren.Add(child);
3839-
}
3840-
else
3841-
{
3842-
m_ParentedChildren.Remove(child);
3843-
}
3844-
}
38453845

38463846
/// <inheritdoc/>
38473847
/// <remarks>

0 commit comments

Comments
 (0)