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
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using System;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
@ -17,7 +18,6 @@ public enum HelpBoxMessageType
|
|||
Error
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
public class HelpBoxAttribute : PropertyAttribute
|
||||
{
|
||||
public readonly HelpBoxMessageType MessageType;
|
||||
|
|
Loading…
Add table
Reference in a new issue