기술 자료

​
​

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
        • Operator nodes
        • Utility nodes
          • Math node
          • Quaternion node
          • Vector2 node
          • Vector3 node
          • Vector4 node
          • Float node
          • Int node
          • Physics node
          • Input node
          • Time node
          • Random node
          • Cursor node
          • Debug node
          • Convert node
      • 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. Utility nodes

Int node

Use the Int node to access preset integer variables and common methods for whole numbers.
읽는 시간 1분
최근 업데이트: 6달 전

The Int node provides a group of integer-related values and methods. It contains variables with preset values that you can use to set or compare values, or perform arithmetic operations. An integer is a whole number that can be positive, negative, or zero, for example, -3, 0, or 42.

Variables

Expand the Int node to view available variables you can use with the node:

Variable

Type

Description

MinValue
int
The smallest possible integer value, which is −2,147,483,648. Use to initialize variables to the lowest possible value or for comparisons.
MaxValue
int
The largest possible integer value, which is 2,147,483,647. Use to initialize variables to the highest possible value or for comparisons.

Methods

Expand the Int node to view available methods you can use with the node:

Method

Return type

Description

Parse
int
Converts a string representation of a number to its integer equivalent. Use to convert user number input or data from text sources into an integer value. If the string has non-numeric characters, an exception is thrown.
Try Parse
bool
Tries to convert a string representation of a number to its integer equivalent and returns a Boolean that indicates whether the conversion was successful. Use to safely handle user input or data from text sources with no risk of exceptions from invalid formats.

Additional resources

  • Utility nodes

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

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

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

  • 보고 있는 페이지
    • Variables

    • Methods

    • Additional resources


이 페이지의 문제 보고