diff --git a/Assets/Mirror/Runtime/CustomAttributes.cs b/Assets/Mirror/Runtime/CustomAttributes.cs index 65a3885bc..b8f672cea 100644 --- a/Assets/Mirror/Runtime/CustomAttributes.cs +++ b/Assets/Mirror/Runtime/CustomAttributes.cs @@ -49,6 +49,7 @@ public class TargetRpcAttribute : Attribute /// /// SyncEvents are networked events like ClientRpc's, but instead of calling a function on the game object, they trigger Events instead. /// + [Obsolete("[SyncEvent] will be removed soon. Use ClientRpc/TargetRpc instead. SyncEvent was a leftover from the UNET days, nobody ever uses or understands it. We will remove it because it requires significant Weaver overhead to maintain.")] [AttributeUsage(AttributeTargets.Event)] public class SyncEventAttribute : Attribute {