ProjectDDD/Packages/com.opsive.shared/Runtime/Events/DomainResetter.cs
2025-08-19 18:53:26 +09:00

25 lines
679 B
C#

/// ---------------------------------------------
/// Opsive Shared
/// Copyright (c) Opsive. All Rights Reserved.
/// https://www.opsive.com
/// ---------------------------------------------
namespace Opsive.Shared.Events
{
using UnityEngine;
/// <summary>
/// Resets the event handler static variables.
/// </summary>
public class DomainResetter
{
/// <summary>
/// Reset the static variables for domain reloading.
/// </summary>
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
public static void DomainReset()
{
EventHandler.DomainReset();
}
}
}