You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-14 12:10:08 +00:00
# [3.0.0-preview.3](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.2...v3.0.0-preview.3) (2020-02-17) ### Bug Fixes * remove unnecessary scripts ([0a43740](0a4374099d)) * workaround for [#70](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/70) ([4bbcc33](4bbcc334ab))
20 lines
578 B
C#
20 lines
578 B
C#
#if !OPEN_SESAME && UNITY_EDITOR
|
|
using UnityEditor;
|
|
using UnityEditor.Compilation;
|
|
|
|
namespace Coffee.OpenSesame
|
|
{
|
|
[InitializeOnLoad]
|
|
internal class Portable
|
|
{
|
|
static Portable()
|
|
{
|
|
var assemblyName = typeof(Portable).Assembly.GetName().Name;
|
|
var asmdefPath = CompilationPipeline.GetAssemblyDefinitionFilePathFromAssemblyName(assemblyName);
|
|
UnityEngine.Debug.LogFormat("<b>Request to recompile: {0} ({1})</b>", assemblyName, asmdefPath);
|
|
AssetDatabase.ImportAsset(asmdefPath);
|
|
}
|
|
}
|
|
}
|
|
#endif
|