https://youtu.be/j6XLEqgq-dE 변수 : 데이터를 메모리에 저장하는 장소 int : 정수형 데이터 float : 숫자형 데이터(소수점을 포함한). 끝에 꼭 f를 써야한다. string : 문자열 데이터. 문자열 데이터는 양 끝에 " " 를
완성본 prefab 화 시키기수정시 inspector 상단 Perfab 탭 Overrides - Applyvoid OnMouseUptransform.Translate(-0.1f \* Time.deltaTime, 0, 0);초당 x씩 이동총알 구현 등에 이용if(조건식)
using System.Collections;using System.Collections.Generic;using Unity.VisualScripting;using UnityEngine;public class Dufrj : MonoBehaviour{}
{
using System.Collections.Generic;using Unity.VisualScripting;using UnityEngine;public class Array : MonoBehaviour{} using System.Collections;using Sys
using System.Collections;using System.Collections.Generic;using UnityEngine;public class Box_List : MonoBehaviour{}
static 사용하기using System; ← 적으면 아래에 System 적을 필요 없음public class Target : MonoBehaviourpublic static System.Action target;public class Object : MonoBeha

반복문while, fordo while, for in생성자 함수 = 대문자 시작변수, 함수, 속성, 메소드 = 소문자 시작여러 단어 조합 = 각 단어의 첫 글자 대문자alert('Hello World') = 함수Array.length = 속성input = 변수 또는 상

using UnityEngine.SceneManagement;하단 On Click에 위 함수 스크립트를 포함한 오브젝트를 넣은 뒤 실행할 함수를 선택Build Setting 에서 Add Open Scenes 해줘야함

UI Scale Mode 에서 Scale With Screen Size 로 설정해야해상도가 달라졌을 때 UI가 의도한 위치 및 비율을 유지함Screen Match Mode를 Shrink로 설정시화면 위 or 아래가 짤리는 레터박스 현상을 방지 가능

Bar 역할을 할 이미지를 넣은 후 Image Type를 Filled로 설정Fill Amount 값을 조정하는 식으로 스크립트 생성

TagLayerLayer 사용 시Project Settings - Physics - Layer Collision Matrix체크박스 확인
단순 함수 호출GameManager라는 GameObject를 찾아서 HitDamage함수를 실행하라SendMessege
float delayTime = 1; void Start() { StartCoroutine(VoidSample()); } IEnumerator VoidSample() { yield r
게임 재시작하기Title - Game - Ending - Title - Game ...씬끼리 이동시키면 됨투사체 발사 딜레이 넣기탄창까지 적용시


Render Texture 생성Material 생성 후 1을 넣기디스플레이 Object의 Materials에 2를 넣기Camera의 Target Texture에 3을 넣기

스크롤 배경 제작시 이미지 파일 설정Wrap Mode - Repeat 설정
메모리풀링 스크립트
-
-

-
-
-

-
-

-
-
-
-
-
https://assetstore.unity.com/packages/tools/localization/koreantyper-232949?clickref=1100lxV7xLI9&utm_source=partnerize&utm_medium=affiliate&utm_
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-