Firstborn/Assets/AwesomeTechnologies/VegetationStudioPro/Runtime/Utility/ThreadUtility.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

21 lines
374 B
C#

using System.Threading;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace AwesomeTechnologies.Utility
{
#if UNITY_EDITOR
[InitializeOnLoad]
public class ThreadUtility
{
public static Thread MainThread = null;
static ThreadUtility()
{
if (MainThread == null) MainThread = Thread.CurrentThread;
}
}
#endif
}