[실전 유니티 C#] 데이터 타입
변수에는 여러 가지 형식(타입)이 있습니다.intfloatstringbool와 같이 주로 4 가지의 타입을 사용합니다.순서대로 설명 드리자면 아래와 같습니다.integer의 줄임말로 정수형floating point number의 줄임말로 부동소수점, 실수형string은 두 개 이상의 문자를 모은 문자열boolean의 줄임말로 true와 false (참과 거짓) 딱 두 가지의 값을 할당 가능using System;using System.Collections;using System.Collections.Generic;using UnityEngine;public class NewBehaviourScript : MonoBehaviour{ // Start is called before the first fr..