修改宏定义
This commit is contained in:
parent
ba7cab251e
commit
1bfe12a33e
@ -9,7 +9,6 @@ namespace AlicizaX.UI.Extension.Editor.Editor.Editor_Handlers
|
||||
{
|
||||
public static void PreviewAudioClip(AudioClip clip)
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
if (clip == null) return;
|
||||
|
||||
// 停止当前播放的所有预览音频
|
||||
@ -34,7 +33,6 @@ namespace AlicizaX.UI.Extension.Editor.Editor.Editor_Handlers
|
||||
new System.Type[] { typeof(AudioClip), typeof(int) },
|
||||
null);
|
||||
setTimeMethod.Invoke(null, new object[] { clip, 0 });
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#if UNITY_EDITOR
|
||||
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
@ -111,4 +111,3 @@ public class UIEditorSkinHelper : Editor
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user