制作团结游戏,有错误 [英] Making a Unity Game, Have Errors

查看:64
本文介绍了制作团结游戏,有错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作Unity游戏,我在第17行和第19行的CS0116和CS0103的构建中存在错误。 

I am making a Unity Game, I have the errors in the build of CS0116, and CS0103 on lines 17, and 19. 

这是我的代码,

推荐答案

我赢了'我正在回答这个问题,但作为常规海报,我的建议是使用注释标记第17行和第19行,并且可能会给出你提到的两个错误的实际文本。

I won't be answering this question, but as a regular poster, my suggestion is to mark using comments what lines 17 and 19 are, and maybe give the actual text for the two errors you mention are emitted.

不是每个人都记得数字中的错误消息,以及论坛如何破坏空白,很难确定哪些行是什么。

Not everyone remembers the error messages from the numbers, and with how the forums can mangle whitespace, it can be hard to determine what lines are what.

另外,如果你要发布代码,尝试使用代码块。在帖子上方的工具栏中,粗体斜体和下划线的位置,HTML右侧有一个带尖括号的按钮。这样您就可以更轻松地将代码放入帖子中。

Also, if you are posting code, try using the code block. In the toolbar above your post, where the bold italic and underline things are, there is a button to the right of the HTML with angle brackets. This will allow you to put code in your post easier.


这篇关于制作团结游戏,有错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆