---
title: "인스턴스화"
content_type: tutorial
url: "https://learn.unity.com/tutorial/inseuteonseuhwa?language=ko"
language: ko
difficulty: beginner
duration_minutes: 5
unity_version:
  - "2019.3"
  - "2019.2"
  - "2019.1"
  - "2018.4"
  - "2018.3"
  - "2018.2"
  - "2018.1"
  - "2017.4"
  - "2017.3"
  - "2017.2"
  - "2017.1"
  - "5.x"
  - "4.x"
supported_unity_versions:
  - name: "2019.3"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2019.3"
  - name: "2019.2"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2019.2"
  - name: "2019.1"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2019.1"
  - name: "2018.4"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2018.4"
  - name: "2018.3"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2018.3"
  - name: "2018.2"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2018.2"
  - name: "2018.1"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2018.1"
  - name: "2017.4"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2017.4"
  - name: "2017.3"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2017.3"
  - name: "2017.2"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2017.2"
  - name: "2017.1"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=2017.1"
  - name: "5.x"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=5.x"
  - name: "4.x"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko&version=4.x"
available_languages:
  - name: "en"
    url: "https://learn.unity.com/tutorial/instantiate.md?language=en"
  - name: "es"
    url: "https://learn.unity.com/tutorial/ejemplificar.md?language=es"
  - name: "ja"
    url: "https://learn.unity.com/tutorial/instantiate-insutansuhua.md?language=ja"
  - name: "ko"
    url: "https://learn.unity.com/tutorial/inseuteonseuhwa.md?language=ko"
  - name: "zh-cn"
    url: "https://learn.unity.com/tutorial/instantiate-1.md?language=zh-cn"
last_updated: "2026-08-04T14:22:35.000Z"
---

# 인스턴스화

Beginner Scripting 프로젝트에서 Instantiate 함수를 사용해 런타임에 프리팹을 복제하는 방법을 학습합니다.

Instantiate 함수를 사용하여 런타임 시 프리팹의 클론을 생성하는 방법을 알아봅니다.

이 튜토리얼은 [스크립팅의 기초 프로젝트](https://learn.unity.com/project/beginner-gameplay-scripting)에 포함되어 있습니다.

이전: [클래스](https://learn.unity.com/tutorial/classes-5?projectId=5c8920b4edbc2a113b6bc26a)

다음: [배열](https://learn.unity.com/tutorial/arrays-9o?projectId=5c8920b4edbc2a113b6bc26a)

## 1. 인스턴스화

[Video](https://connect-mediagw.unity.com/h1/20220104/videos/5bb22943-c73f-459b-81ce-0d9ffadbfeab_U_Beginner_22_Instantiate.mp4) ([Transcript (ko_kr)](https://connect-mediagw.unity.com/h1/20220427/1608b663-864e-40ca-a059-f2bf6e528373_22_Instantiate.ko.vtt))

## **UsingInstantiate**

```csharp
using UnityEngine;
using System.Collections;

public class UsingInstantiate : MonoBehaviour
{
    public Rigidbody rocketPrefab;
    public Transform barrelEnd;
    
    
    void Update ()
    {
        if(Input.GetButtonDown("Fire1"))
        {
            Rigidbody rocketInstance;
            rocketInstance = Instantiate(rocketPrefab, barrelEnd.position, barrelEnd.rotation) as Rigidbody;
            rocketInstance.AddForce(barrelEnd.forward * 5000);
        }
    }
}
```

## **RocketDestruction**

```csharp
using UnityEngine;
using System.Collections;

public class RocketDestruction : MonoBehaviour
{
    void Start()
    {
        Destroy (gameObject, 1.5f);
    }
}
```
