2013-01-03 37 views
0

像主题一样,我可以在Kindle Fire HD上的Unity3D的运行时脚本中进行调试吗?任何人之前做过?在MonoDev“重视过程中,我只能看到编辑器。Unity3D在Kindle Fire HD上运行时调试

+0

你是问关于Android远程调试,或Unity Android的调试 –

+0

“我可以调试在Unity3D运行脚本” - 统一的Android HTTP:/。 /docs.unity3d.com/Documentation/Manual/Debugger.html – waskithebest

回答

0

使用Debug.Log();功能进行调试。如果你需要,而在Kindle上运行调试,您将不得不创建GUI脚本呈现文本到屏幕上。

using UnityEngine; 
using System.Collections; 

public class ExampleClass : MonoBehaviour { 
    void OnGUI() { 
     GUI.Label(new Rect(10, 10, 100, 20), "Hello World!"); 
    } 
} 

欲了解更多详情,请参阅该统一文档页面 - https://docs.unity3d.com/ScriptReference/GUI.Label.html