Skip to content

Commit 2931b90

Browse files
committed
Add missed removals
1 parent 538732e commit 2931b90

2 files changed

Lines changed: 0 additions & 19 deletions

File tree

com.unity.netcode.gameobjects/Editor/CodeGen/NetworkBehaviourILPP.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2891,14 +2891,6 @@ private MethodDefinition GenerateStaticHandler(MethodDefinition methodDefinition
28912891

28922892
var processor = rpcHandler.Body.GetILProcessor();
28932893

2894-
var isServerRpc = rpcAttribute.AttributeType.FullName == CodeGenHelpers.ServerRpcAttribute_FullName;
2895-
foreach (var attrField in rpcAttribute.Fields)
2896-
{
2897-
switch (attrField.Name)
2898-
{
2899-
}
2900-
}
2901-
29022894
rpcHandler.Body.InitLocals = true;
29032895
// NetworkManager networkManager;
29042896
rpcHandler.Body.Variables.Add(new VariableDefinition(m_NetworkManager_TypeRef));

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

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

38623862
#region PARENTING AND OWNERSHIP
38633863
/// <inheritdoc/>
3864-
public override void OnLostOwnership()
3865-
{
3866-
base.OnLostOwnership();
3867-
}
3868-
3869-
/// <inheritdoc/>
3870-
public override void OnGainedOwnership()
3871-
{
3872-
base.OnGainedOwnership();
3873-
}
3874-
/// <inheritdoc/>
38753864
protected override void OnOwnershipChanged(ulong previous, ulong current)
38763865
{
38773866
// If we were the previous owner or the newly assigned owner then reinitialize

0 commit comments

Comments
 (0)