25 lines
679 B
C#
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();
|
||
|
}
|
||
|
}
|
||
|
}
|