그래픽엔진

    [Unity] 2. 오브젝트에 C# 스크립트 넣어보기?

    방가방가. 기계과 감성쟁이입니다. 유니티와 C#을 연동해보겠습니다. * 해당 영상을 참고했습니다. 1. C# Script 파일을 이용하여 콘솔에 메세지 출력하기 1. Assets - Create - C# Script 로 파일 생성 이후 생성된 파일 더블클릭하면 비쥬얼 스튜디오 열림. 2. 콘솔창 드래그앤 드롭 3. 이후 창을 조절해서 알맞게 배치해줍시다. using System.Collections; using System.Collections.Generic; using UnityEngine; public class try1 : MonoBehaviour { // Start is called before the first frame update void Start() { Debug.Log("Here is ..