holopy3/Assets/UniGLTF/UniJSON/Scripts/ActionDisposer.cs
Lena Biresch 490ef558ef CleanUp
2021-01-28 13:07:52 +01:00

20 lines
297 B
C#

using System;
namespace UniJSON
{
public struct ActionDisposer : IDisposable
{
Action m_action;
public ActionDisposer(Action action)
{
m_action = action;
}
public void Dispose()
{
m_action();
}
}
}