======================================================================
PC Debugging
======================================================================
%userprofile%\AppData\Local\Unity\Editor.log
example)
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Update() { if (Input.GetMouseButtonDown(0)) Debug.Log("Pressed left click."); if (Input.GetMouseButtonDown(1)) Debug.Log("Pressed right click."); if (Input.GetMouseButtonDown(2)) Debug.Log("Pressed middle click."); } }
======================================================================
Android Debugging
======================================================================
======================================================================
IPhone/IPad Debugging
======================================================================
'Hello Program' 카테고리의 다른 글
python api (0) | 2015.12.09 |
---|---|
[Unity3D] 2D Mario 시작 (0) | 2013.11.01 |
[Unity3D] 따라하기 완성 WebPlayer (0) | 2013.10.31 |
[Unity3D] 궁금증 (0) | 2013.10.31 |
[Unity3D] 이동만들기 (0) | 2013.10.29 |