기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Unity Studio

Open Unity Studio

Unity Studio

이 페이지는 선택한 언어로 제공되지 않습니다.
​
​
Unity Studio
  • What's new in Unity Studio
  • Introduction to Unity Studio
  • Launch Unity Studio
  • Create your first Unity Studio project
  • Develop with Unity Studio
    • The Unity Studio interface
    • Save your progress
    • GameObjects
    • Assets
    • Materials
    • Scene settings
    • Logic
      • Introduction to Logic
      • Create a Logic script
      • The Logic Editor interface
      • Methods, variables, and parameters
      • Nodes
        • Event Listener nodes
        • Event nodes
        • Action nodes
          • MoveByValue node
          • MoveToValue node
          • ScaleToValue node
          • ScaleByValue node
          • RotateByValue node
          • RotateToValue node
          • Set Active node
          • Wait node
          • Set Text node
          • Wait Until node
          • Instantiate node - expression
          • Instantiate node - statement
          • Destroy node
          • Set variable value node
          • Play animation node
          • Pause animation node
          • Stop animation node
        • Constant nodes
        • Flow Control nodes
        • Operator nodes
        • Utility nodes
      • Logic examples
    • The UI Creator
    • Animation
    • AI features
  • Collaborate in Unity Studio
  • Export drafts to the Unity Editor
  • Publish and share
  • Troubleshooting Unity Studio issues
  • Report bugs and share feedback
  • Manage your analytics and marketing preferences
  1. Unity Studio
  2. Develop with Unity Studio
  3. Logic
  4. Nodes
  5. Action nodes

Instantiate node - expression

Create a new instance of a specified GameObject in the scene and return the new GameObject.
읽는 시간 2분
최근 업데이트: 6달 전

Use the Instantiate node to create a new copy of an object during play. This is useful if you want to spawn assets or UI elements whenever you need them.

Socket

Type

Description

Object
GameObject
The object to duplicate. When the node runs, it creates a new copy of this object. The new object uses the original’s default position and rotation. You can move or rotate it afterward with other nodes.

Variables

Expand the Instantiate node to view available variables you can use:

Variable

Type

Description

position
Vector3
The position where the new GameObject will be created in the scene. By default, it uses the original object's position, but you can specify a different position if needed.
rotation
Quaternion
The rotation of the new GameObject when it's created. By default, it uses the original object's rotation, but you can specify a different rotation if needed.
scale
Vector3
The scale of the new GameObject when it's created. By default, it uses the original object's scale, but you can specify a different scale if needed.
transform
Transform
The Transform component of the new GameObject. This is useful for modifying the position, rotation, or scale of the new object after it's created.
name
string
The name of the new GameObject. By default, it uses the original object's name with
(Clone)
appended to it, but you can specify a different name if needed.
activeSelf
bool
A Boolean that indicates whether the new GameObject is active in the scene. By default, it uses the original object's active state, but you can specify a different state if needed.

Methods

Expand the Instantiate node to view available methods you can use:

Method

Description

SetActiveA method that allows you to enable or disable the new GameObject in the scene. This is useful for controlling when the object should be visible or interactable after it's created.
GetComponentA method that allows you to access a specific component on the new GameObject. This is useful for modifying the behavior or properties of the new object immediately after it's created, such as changing its color or adding a script.
AddComponentA method that allows you to add a new component to the new GameObject. This is useful for dynamically adding functionality to the new object after it's created, such as adding a Rigidbody for physics interactions or a Collider for collision detection.
To stringA method that returns a string representation of the new GameObject, including its name and position. This can be useful for debugging or logging purposes to understand what object was created and where it is in the scene.

Additional resources

  • Instantiate statement node
  • Unity Engine - Instantiate
  • Actions nodes

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.

  • 보고 있는 페이지
    • Variables

    • Methods

    • Additional resources


이 페이지의 문제 보고