mirror of
https://github.com/Relintai/gdnative_python.git
synced 2024-11-12 10:25:08 +01:00
27 lines
348 B
GDScript
27 lines
348 B
GDScript
extends Node
|
|
|
|
|
|
var ready_called = false
|
|
export(int) var prop
|
|
export var overloaded_by_child_prop = "default"
|
|
|
|
|
|
func _ready():
|
|
ready_called = true
|
|
|
|
|
|
func is_ready_called():
|
|
return ready_called
|
|
|
|
|
|
func meth(attr):
|
|
return attr
|
|
|
|
|
|
func overloaded_by_child_meth(attr):
|
|
return attr
|
|
|
|
|
|
static func static_meth(attr):
|
|
return 'static:' + attr
|