在CustomSettings.cs中,添加 _GT(typeof(PrimitiveType)), 到customTypeList中: 编写以下脚本再main.lua中: 运行Unity,结果如下: