Edit of asset "Limits" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Limits | Limits |
Description |
Adds constants and utility functions for numeric limits. Methods Variant max_value_of(type: Variant.Type) static Variant min_value_of(type: Variant.Type) static Example func example() -> void: print(Limits.INT_MAX) # Prints 9223372036854775807 print(Limits.INT_MIN) # Prints -9223372036854775808 print(Limits.max_value_of(typeof(123)) # Prints 9223372036854775807 print(Limits.min_value_of(typeof(123))) # Prints -9223372036854775808 |
Provides numerical constants for integer and floating-point limits. |
Category | Scripts | Scripts |
License | MIT | MIT |
Repository Provider | GitHub | GitHub |
Repository Url | https://github.com/neclor/godot-limits | https://github.com/neclor/limits-godot |
Issues Url | https://github.com/neclor/godot-limits/issues | https://github.com/neclor/limits-godot/issues |
Godot version | Godot 4.0 | Godot 4.0 |
Version String | 1.3.0 | 1.0.0 |
Download Commit | de01db2c416387eef891c99761149dfe31bb8c19 | 011b00af56f4e484d9ec4291ea9bb70672da4e62 |
Download Url (Computed) | https://github.com/neclor/godot-limits/archive/de01db2c416387eef891c99761149dfe31bb8c19.zip | https://github.com/neclor/limits-godot/archive/011b00af56f4e484d9ec4291ea9bb70672da4e62.zip |
Icon Url |
https://raw.githubusercontent.com/neclor/limits-godot/main/icon.png
![]() |
https://raw.githubusercontent.com/neclor/limits-godot/main/icon.png
![]() |