I am trying to print a simple statement using C# on Unity Console but i don't know why it is not printing.
如果打印有not work, Debug.Log
will not工作要么就是这样not问题。
这些是可能的原因print
没有在控制台中显示:
1.脚本是not附加到游戏对象。
2.脚本附加到的游戏对象是not积极的。从编辑器激活它。
3.The NumberWizard
script is not enabled. Enable the script.
4.日志切换是not检查过。
从您的屏幕截图来看,调试、警告和错误消息均已启用,因此我们可以排除 4 中的内容。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)