33 lines
755 B
C#
33 lines
755 B
C#
//////////////////////////////////////////////////////
|
|
// MicroSplat
|
|
// Copyright (c) Jason Booth
|
|
//////////////////////////////////////////////////////
|
|
|
|
|
|
using UnityEngine;
|
|
using System.Collections;
|
|
using UnityEditor;
|
|
using UnityEditor.Callbacks;
|
|
using System.Collections.Generic;
|
|
|
|
namespace JBooth.MicroSplat
|
|
{
|
|
#if __MICROSPLAT__
|
|
[InitializeOnLoad]
|
|
public class MicroSplatPolarisModule //: FeatureDescriptor
|
|
{
|
|
const string sDefine = "__MICROSPLAT_POLARIS__";
|
|
static MicroSplatPolarisModule ()
|
|
{
|
|
MicroSplatDefines.InitDefine (sDefine);
|
|
}
|
|
[PostProcessSceneAttribute (0)]
|
|
public static void OnPostprocessScene ()
|
|
{
|
|
MicroSplatDefines.InitDefine (sDefine);
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
} |