Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

ValidRLink

An asset by NoctemCat
The page banner background of a mountain and forest
ValidRLink hero image

Quick Information

0 ratings
ValidRLink icon image
NoctemCat
ValidRLink

Supports Godot 4.1+. Adds ability to validate exported values and workable non-tool buttonsIf it detects any changes in inspector it will call your own method where you can check exported values or set them, you can change the method name in settingsYou can also export buttons that will call your methods, similar to `@export_tool_button` only your classes doesn't need to be `@tool`By the nature of how it works, it will only work with exported data, while inside your methods the instance doesn't have any children or parents and it's not in the tree. To work with the scene your method can accept helper class `RLink`, which provides common operations on the treeSee the link to documentation in GitHub for more info

Supported Engine Version
4.1
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
13 days ago
Git URL
Issue URL

ValidRLink

ValidRLink is a Godot plugin that supports 4.1+ version. Everything is workable in a non-tool class

Documentation

More detailed info on Docs or you can open tests/version/tests/editor and tests/version/tests/editor_csharp for usage in editor

How to Use

Validate Data

@export var int_var: int

func validate_changes() -> void:
    if int_var < 0: int_var = 0
    elif int_var > 100: int_var = 100

Add Buttons

@export var hello_world := RLinkButton.new(hello_world_impl)
func hello_world_impl() -> void:
    print("Hello World")

License

MIT

Copyright (c) 2025 NoctemCat

Supports Godot 4.1+. Adds ability to validate exported values and workable non-tool buttons

If it detects any changes in inspector it will call your own method where you can check exported values or set them, you can change the method name in settings

You can also export buttons that will call your methods, similar to `@export_tool_button` only your classes doesn't need to be `@tool`

By the nature of how it works, it will only work with exported data, while inside your methods the instance doesn't have any children or parents and it's not in the tree. To work with the scene your method can accept helper class `RLink`, which provides common operations on the tree

See the link to documentation in GitHub for more info

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
ValidRLink icon image
NoctemCat
ValidRLink

Supports Godot 4.1+. Adds ability to validate exported values and workable non-tool buttonsIf it detects any changes in inspector it will call your own method where you can check exported values or set them, you can change the method name in settingsYou can also export buttons that will call your methods, similar to `@export_tool_button` only your classes doesn't need to be `@tool`By the nature of how it works, it will only work with exported data, while inside your methods the instance doesn't have any children or parents and it's not in the tree. To work with the scene your method can accept helper class `RLink`, which provides common operations on the treeSee the link to documentation in GitHub for more info

Supported Engine Version
4.1
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
13 days ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers