You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
556 B
C#
23 lines
556 B
C#
using Digger.Modules.Core.Editor;
|
|
using UnityEditor;
|
|
using UnityEditor.Callbacks;
|
|
|
|
namespace Digger.Modules.Runtime.Sources.Editor
|
|
{
|
|
[InitializeOnLoad]
|
|
public class DiggerRuntimeDefines
|
|
{
|
|
private const string DiggerRuntimeDefine = "__DIGGER_RUNTIME__";
|
|
|
|
static DiggerRuntimeDefines()
|
|
{
|
|
DiggerDefines.InitDefine(DiggerRuntimeDefine);
|
|
}
|
|
|
|
[PostProcessScene(0)]
|
|
public static void OnPostprocessScene()
|
|
{
|
|
DiggerDefines.InitDefine(DiggerRuntimeDefine);
|
|
}
|
|
}
|
|
} |