当我将 Demo.cs 放在标准资产文件夹中时,我收到此错误:
Assets/Standard Assets/Demo.cs(130,17): error CS0246: The type or namespace name 'UILabel' could not be found. Are you missing a using directive or an assembly reference?
当我将 Demo.cs 资产文件夹放在上面时,错误得到解决,但我无法从另一个 Demo1.js 调用 Demo.cs 的任何方法
给出错误:
Assets/Scripts/Demo1.js(81,20): BCE0018: The name 'Demo' does not denote a valid type ('not found').
任何解决方案?