You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
21 lines
242 B
GDScript
21 lines
242 B
GDScript
|
|
extends RigidBody2D
|
|
|
|
# member variables here, example:
|
|
# var a=2
|
|
# var b="textvar"
|
|
|
|
var disabled=false
|
|
|
|
func disable():
|
|
if (disabled):
|
|
return
|
|
get_node("anim").play("shutdown")
|
|
disabled=true
|
|
|
|
func _ready():
|
|
# Initalization here
|
|
pass
|
|
|
|
|