gpt4 book ai didi

c# - `CrossPlatformInput' 在命名空间 `UnitySampleAssets' 中不存在

转载 作者:行者123 更新时间:2023-12-02 10:54:21 26 4
gpt4 key购买 nike

导入 Standard Assets for Unity 4.6 时打包到我的 Unity 4 项目,我收到以下错误:

Assets/SampleAssets/2D/Scripts/Platformer2DUserControl.cs(2,25): error CS0234: The type or namespace name CrossPlatformInput' does not exist in the namespaceUnitySampleAssets'. Are you missing an assembly reference?



有谁知道是什么导致了这个问题?

最佳答案

这个问题可以通过导入所有 CrossPlatformInput Assets 来解决。导入时,我怀疑您没有选中标记所有框。

具体来说,请确保在 Assets 导入期间选中 CrossPlatformInput 文件夹。

enter image description here

关于c# - `CrossPlatformInput' 在命名空间 `UnitySampleAssets' 中不存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36086923/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com