Move and consolidate many third-party plugin files and metadata from various locations (notably Assets/Third Parties/Plugins 1 and scattered Opsive/Photon folders) into a unified Assets/Plugins directory. Includes DOTween, PrimeTween, Native/BackroomsNoise, Sirenix/Odin Inspector, and Opsive UltimateCharacterController/shared libs, plus updates to several .meta files and removal of obsolete installer/legacy files. This standardizes plugin layout and cleans up duplicate/obsolete assets.
35 lines
1.0 KiB
C#
35 lines
1.0 KiB
C#
/// ---------------------------------------------
|
|
/// Opsive Shared
|
|
/// Copyright (c) Opsive. All Rights Reserved.
|
|
/// https://www.opsive.com
|
|
/// ---------------------------------------------
|
|
|
|
namespace Opsive.Shared.Editor
|
|
{
|
|
#if UNITY_2019_3_OR_NEWER
|
|
using Opsive.Shared.Events;
|
|
using Opsive.Shared.Game;
|
|
using UnityEngine;
|
|
#endif
|
|
|
|
/// <summary>
|
|
/// Enables the shared classes to work with Unity's Fast Enter Playmode feature:
|
|
/// https://docs.unity3d.com/Manual/ConfigurableEnterPlayMode.html.
|
|
/// </summary>
|
|
public static class DomainResetter
|
|
{
|
|
/// <summary>
|
|
/// Reset the static variables for domain reloading.
|
|
/// </summary>
|
|
#if UNITY_2019_3_OR_NEWER
|
|
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
|
|
public static void DomainReset()
|
|
{
|
|
EventHandler.DomainReset();
|
|
GameObjectExtensions.DomainReset();
|
|
ObjectPoolBase.DomainReset();
|
|
SchedulerBase.DomainReset();
|
|
}
|
|
#endif
|
|
}
|
|
} |