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.4](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v3.0.0-preview.3...v3.0.0-preview.4) (2020-02-18)
### Bug Fixes
* compile error in Unity 2019.1 or later ([28ca922](28ca922167)), closes [#70](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/70) [#71](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/71)
27 lines
839 B
C#
27 lines
839 B
C#
#if IGNORE_ACCESS_CHECKS // [ASMDEFEX] DO NOT REMOVE THIS LINE MANUALLY.
|
|
#if !UNITY_2019_1_OR_NEWER
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEditor;
|
|
|
|
namespace Coffee.UIExtensions
|
|
{
|
|
public class UIParticleMenu
|
|
{
|
|
[MenuItem("Assets/Samples/Import UIParticle Sample")]
|
|
static void ImportSample()
|
|
{
|
|
const string src = "Packages/com.coffee.ui-particle/Samples~/Demo";
|
|
const string dst = "Assets/Samples/UI Particle/3.0.0/Demo";
|
|
|
|
if (FileUtil.PathExists(dst))
|
|
FileUtil.DeleteFileOrDirectory(dst);
|
|
|
|
FileUtil.CopyDirectoryRecursive(src, dst);
|
|
AssetDatabase.ImportAsset(dst, ImportAssetOptions.ImportRecursive);
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
#endif // [ASMDEFEX] DO NOT REMOVE THIS LINE MANUALLY. |