game(scripts,opt): include using stmts in ifdef
This commit is contained in:
parent
dbd3784450
commit
51937abbc8
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
*/
|
*/
|
||||||
// https://discussions.unity.com/t/helpattribute-allows-you-to-use-helpbox-in-the-unity-inspector-window/659414/22
|
// https://discussions.unity.com/t/helpattribute-allows-you-to-use-helpbox-in-the-unity-inspector-window/659414/22
|
||||||
|
|
||||||
|
#if UNITY_EDITOR
|
||||||
using System;
|
using System;
|
||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -17,7 +18,6 @@ public enum HelpBoxMessageType
|
||||||
Error
|
Error
|
||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
|
||||||
public class HelpBoxAttribute : PropertyAttribute
|
public class HelpBoxAttribute : PropertyAttribute
|
||||||
{
|
{
|
||||||
public readonly HelpBoxMessageType MessageType;
|
public readonly HelpBoxMessageType MessageType;
|
||||||
|
|
Loading…
Add table
Reference in a new issue