📅  最后修改于: 2022-03-11 14:49:10.930000             🧑  作者: Mango
Unity has several reserved folder names, "Editor" is one of them
Remove the script from the "Editor" folder and you should be able
to attach it to a game object