using System; using UnityEngine.Events; namespace UnityEditor.XR.Interaction.Toolkit { /// /// Utility functions related to migrating deprecated properties. /// [Obsolete("The EventMigrationUtility has been deprecated and will be removed in a future version of XRI.", true)] public static class EventMigrationUtility { /// /// Migrate the persistent listeners from one to another. /// The listeners will be removed from the source event, and appended to the destination event. /// The scripts of the target of Dynamic listeners still need to be manually updated to match the new event signature. /// /// The source of the to move from. /// The destination of the to move to. [Obsolete("MigrateEvent is marked for deprecation and will be removed in a future version. It is only used for migrating deprecated events.", true)] public static void MigrateEvent(SerializedProperty srcUnityEvent, SerializedProperty dstUnityEvent) { } } }