ie的开发者工具(Console Debugging API )

TopicDescription

assert

Sends a message to the console if the expression provided evaluates to false. The message text color is red and it is prefaced by an error icon.

clear

Clears messages from the console.

dir

Prints the properties of  an object to the console.

error

Sends an error "message" to the console. The message text color is red and it is prefaced by an error icon.

info

Sends an informational "message" to the console. The message is prefaced by an information  icon.

log

Sends a log  "message" to the console. The message is prefaced by the string "LOG".

msIsIndependentlyComposed

Retrieves a Boolean value indicating whether the element is independently composed.

profile

Starts recording profile information under the optional title provided. This command is equivalent to clicking the Start profiling button on the F12 developer tools Profile tab.

profileEnd

Stops recording profile information under the last report title.

warn

Sends a warning  message to the console. The message is prefaced by the warning icon.

http://msdn.microsoft.com/zh-CN/library/ie/hh772183.aspx
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Unity是一款跨平台的游戏开发引擎,可以用于开发各种类型的游戏,包括Android游戏。在Unity开发Android游戏时,可以使用Unity的Console工具来进行调试和显示输出信息。 Console工具是Unity的一个内置工具,主要用于显示和管理Unity项目中的日志消息、警告和错误信息。它在Unity编辑器的底部面板上显示了一个控制台,可以实时查看运行时的日志信息。在Android设备上运行游戏时,Console工具也可以将日志信息输出到应用程序的日志文件中,方便开发者进行远程调试和查看。 通过Console工具开发者可以方便地查看和分析游戏运行时的日志信息。它可以显示应用程序中的调试信息、警告信息和错误信息,帮助开发者在开发过程中及时发现并修复问题。此外,Console工具还支持过滤和搜索功能,可以根据需要只显示特定类型的日志信息,方便开发者进行精确定位和排查问题。 在Android设备上查看Console工具输出信息,需要在Unity的Player Settings中将Development Build和Script Debugging选项打开,然后在Android设备上运行游戏。当游戏运行时,控制台将会显示相关的日志信息,包括从脚本中输出的自定义消息和Unity引擎的系统消息。 总的来说,Unity的Console工具是一个非常有用的调试工具,可以帮助开发者在Unity开发Android游戏时快速定位和解决问题,提高开发效率。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值