Organize custom scripts and Shared under Assets/Scripts, and delete assembly definition files

This commit is contained in:
2026-07-01 20:36:56 +07:00
parent befc19bf37
commit 01048074ee
183 changed files with 180 additions and 3456 deletions

View File

@@ -0,0 +1,35 @@
/// ---------------------------------------------
/// 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
}
}