비주얼 스튜디오 단축키 설명과 유니티 출력문 설명

m._.jooong·2023년 2월 20일
0

Unity C#

목록 보기
4/22

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

// <-- 한줄 주석문 (코드에 반영되지 않는 설명글)
// /* */ <-- 구간 주석문
// + <마우스 휠> : 글씨 크기 조절하기

// 언두(이전 작업으로 돌아가기) : +
// 리두(앞작업으로 돌아가기) : +

public class Test_1 : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{

    // Hello, World를 Console 뷰에 출력한다.
    Debug.Log("Hello World"); // ; <-- 명령어 한 줄의 끝을 의미함
    Debug.Log("Hello World");
    Debug.Log("Hello World");

    // " " <-- C#에서 " " 감싸주면 문자열(문장)으로 인식하게 된다.
}

// Update is called once per frame
void Update()
{
    
}

}

0개의 댓글