首页 > 代码库 > Unity的 A namespace can only contain types and namespace declarations问题

Unity的 A namespace can only contain types and namespace declarations问题

Assets/Scripts/KinectAction.cs(70,22): error CS0116: A namespace can only contain types and namespace declarations
Assets/Scripts/KinectAction.cs(78,10): error CS8025: Parsing error

 

 

中文问题,把这个文件改为ANSI编码,或者中文删掉错误就消失了

Unity的 A namespace can only contain types and namespace declarations问题