👌

【Unity】CS2046:The type or namespace name '○○○'~なエラーの対応

に公開

エラーが出たスクリプトで

using UnityEngine;

と

[MenuItem("○○○")]

のところを、

#if UNITY_EDITOR
と
#endif
で

それぞれ囲う。

Discussion