기술 자료

​
​

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
      • Work with GameObjects
      • Components
        • Introduction to components
        • Work with components on a GameObject
        • Transform component
        • Collider components
        • Physics components
        • Light components
        • Mesh Renderer component
        • Skinned Mesh Renderer component
        • Audio Source component
        • Video Player component
        • Animation component reference
        • Logic component
      • Empty objects and Parent empty objects
      • Primitives
      • Camera
      • Lights
    • Assets
    • Materials
    • Scene settings
    • Logic
    • 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. GameObjects
  4. Components

Logic component

Add logic to your GameObject.
읽는 시간 1분
최근 업데이트: 7달 전

You can add Logic scripts to your GameObject to give your objects behaviors and functionality. You can add multiple Logic scripts to each GameObject. This follows an object-oriented approach: every object carries its own scripts that control its actions.
For more information about scripting with Unity Studio including examples, refer to Logic.

Logic component example

You might have a car object with 3 different scripts that each perform a different task:
  • Movement
  • Color change
  • Car model type change
The car object might also have 4 wheel objects each with a script that handle the wheel's rotation.

Logic component properties

The Logic component has the following properties:

Property

Description

EditOpen the Logic Editor and edit your script.
Options (...)Expand this menu to show options to remove the script from the GameObject or edit the script.
VariablesIf your script has public variables, they show in the Inspector window, where you can set these variables.

Additional resources

  • Unity Engine - Scripting
  • Logic
  • Components

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

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

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

  • 보고 있는 페이지
    • Logic component example

    • Logic component properties

    • Additional resources


이 페이지의 문제 보고