본문 바로가기
유니티/공부

Debug.Log, print

by 윤꽁참감 2022. 5. 18.
반응형

print

1. MonoBehaviour를 상속 받은 경우에만 쓸 수 있다

2. Debug.log를 랩핑한 클래스

Debug.log

1. print보다 속도가 빠르다

2. print는 Debug.log를 기억하기 쉬운 이름으로 바꾼것이라 봐도 무방하다

출처: https://selfishred.tistory.com/entry/Unity3DDebug-vs-print

'유니티 > 공부' 카테고리의 다른 글

Animation, Animator, Legacy, Mecanim  (0) 2022.05.18
RayCast  (0) 2022.05.18
유니티 단축키  (0) 2022.05.18
유니티로 게임을 만드는 10가지 방법  (0) 2022.05.17
GameObject missing 처리  (0) 2022.05.12

댓글