diff --git a/Assets/Mirror/Editor/Weaver/Processors/NetworkBehaviourProcessor.cs b/Assets/Mirror/Editor/Weaver/Processors/NetworkBehaviourProcessor.cs index 7b5cfcb4e..a5276caab 100644 --- a/Assets/Mirror/Editor/Weaver/Processors/NetworkBehaviourProcessor.cs +++ b/Assets/Mirror/Editor/Weaver/Processors/NetworkBehaviourProcessor.cs @@ -262,7 +262,7 @@ void GenerateConstants() foreach (FieldDefinition fd in m_SyncObjects) { - SyncListProcessor.GenerateSyncListInstanceInitializer(ctorWorker, fd); + SyncListInitializer.GenerateSyncListInstanceInitializer(ctorWorker, fd); SyncObjectProcessor.GenerateSyncObjectInitializer(ctorWorker, fd); } diff --git a/Assets/Mirror/Editor/Weaver/Processors/SyncListProcessor.cs b/Assets/Mirror/Editor/Weaver/Processors/SyncListInitializer.cs similarity index 97% rename from Assets/Mirror/Editor/Weaver/Processors/SyncListProcessor.cs rename to Assets/Mirror/Editor/Weaver/Processors/SyncListInitializer.cs index db2b02433..e449f880f 100644 --- a/Assets/Mirror/Editor/Weaver/Processors/SyncListProcessor.cs +++ b/Assets/Mirror/Editor/Weaver/Processors/SyncListInitializer.cs @@ -6,7 +6,7 @@ namespace Mirror.Weaver { - public static class SyncListProcessor + public static class SyncListInitializer { // generates 'syncListInt = new SyncListInt()' if user didn't do that yet public static void GenerateSyncListInstanceInitializer(ILProcessor ctorWorker, FieldDefinition fd) diff --git a/Assets/Mirror/Editor/Weaver/Processors/SyncListProcessor.cs.meta b/Assets/Mirror/Editor/Weaver/Processors/SyncListInitializer.cs.meta similarity index 83% rename from Assets/Mirror/Editor/Weaver/Processors/SyncListProcessor.cs.meta rename to Assets/Mirror/Editor/Weaver/Processors/SyncListInitializer.cs.meta index b73b04756..d3f5278de 100644 --- a/Assets/Mirror/Editor/Weaver/Processors/SyncListProcessor.cs.meta +++ b/Assets/Mirror/Editor/Weaver/Processors/SyncListInitializer.cs.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 4f3445268e45d437fac325837aff3246 +guid: 97068e5d8cc14490b85933feb119d827 MonoImporter: externalObjects: {} serializedVersion: 2