mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
[Obsolete] SyncEvent (#2180)
This commit is contained in:
parent
eec49fafce
commit
54c32227bd
@ -49,6 +49,7 @@ public class TargetRpcAttribute : Attribute
|
||||
/// <summary>
|
||||
/// SyncEvents are networked events like ClientRpc's, but instead of calling a function on the game object, they trigger Events instead.
|
||||
/// </summary>
|
||||
[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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user