Skip to content

Instantly share code, notes, and snippets.

@rubychill
rubychill / scn_to_tscn.gd
Created January 5, 2018 05:30
Godot .scn to .tscn
extends SceneTree
# modify this variable to point to directories containing .scn files to convert
var directories = ["res://"]
var recursive = true # search through subdirectories for .scn files
var keep_originals = true # keep the original .scn files
func _init():
if (OS.get_cmdline_args()[-1] == "-rm"):