본문 바로가기

Unity3D/유니티 C 샵

Unity3D C# 0002 Hello World 출력 (Debug.Log) [thbeth]

Unity3D C# 0002 Hello World 출력 (Debug.Log) [thbeth]
1. Hierarchy 에  GameObject 생성 ( Hierarchy 창에 마우스 우클릭 ▶ Create Empty )
2. Project 창에 마우스 우클릭 ▶ Create ▶ C# Script ▶ 코드 입력.
3. Script 를 GameObject 로 드래그.
4. 저장 ( Ctrl + S ).

 

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class C001 : MonoBehaviour
{
    private void Awake()
    {
        Debug.Log("Hello World");

    }
}

 

 

 

 

* Unity3D C# 강의 모음 : https://blog.naver.com/th_be_th/222290314145

 

Unity3D C# 강의

■ Unity3D C# 강의Unity3D C# 0001 기본 창 설정 [thbeth] https://youtu.be/lQBv_vUjXR0 Uni...

blog.naver.com

 

'Unity3D > 유니티 C 샵' 카테고리의 다른 글

Unity3D C# 0003 함수 리턴 void [thbeth]  (0) 2021.03.28
Unity3D C# 0001 기본 창 설정 [thbeth]  (0) 2021.03.27