기술 자료

​
​

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
        • Constant nodes
        • Flow Control nodes
          • If node
          • If else node
          • For loop node
          • While loop node
          • For each loop node
          • Return node
          • Continue loop node
          • Break loop node
        • 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. Flow Control nodes

For loop node

Repeat a set of actions a specified number of times.
읽는 시간 1분
최근 업데이트: 10달 전

Use the For loop node to repeat actions a set number of times. The loop counts from a start value to an end value, and fires an action each time. Think of count1 as the loop counter. It starts at From, runs the actions, then increases by Step each time, and stops when it passes the To value.
The following is a general overview of how the loop works:
  • Set count1 to the value of From.
  • If count1 is greater than the value of To, stop.
  • Otherwise, run the actions and increase count1 by Step.
  • Repeat the check.

Sockets

Socket

Type

Description

From
Int
The number the counter starts at.
To
Int
The final number to reach or pass before the counter and loop stops.
Step
Int
How much to increase the counter after each run. Use positive numbers to count up.
Then
Event
(output)
Fires once per loop pass. Connect an action node to run that action each time the loop iterates.
count1
Int
(output)
The current counter value for this pass of the loop.

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

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

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

  • 보고 있는 페이지
    • Sockets


이 페이지의 문제 보고