You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-14 20:20:06 +00:00
3.0.0-preview.3
# [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))
This commit is contained in:
19
Scripts/Editor/OpenSesamePortable.cs
Normal file
19
Scripts/Editor/OpenSesamePortable.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user