MenuItem attribute is in the UnityEditor namespace, so you need to include that namespace and place your script in a folder named Editor.
確定! 回上一頁