pokepurple/addons/twitcher/lib/oOuch/oauth_token_inspector.gd
Mario Steele c11a4ebbc2 Initial Commit
Initial commit of Code Base.
2025-06-12 14:31:14 -05:00

13 lines
363 B
GDScript

@tool
extends EditorInspectorPlugin
var token_info_scene: PackedScene = preload("res://addons/twitcher/lib/oOuch/oauth_token_info.tscn")
func _can_handle(object: Object) -> bool:
return object is OAuthToken
func _parse_begin(object: Object) -> void:
var token_info = token_info_scene.instantiate()
token_info.token = object
add_custom_control(token_info)