Parsing TSCN files from GDNative

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By notrly1337

My game features big pile of Rust code, but I want content to be created entirely in Godot Editor so I need Rust to read (only) TSCN files. I couldn’t find a dedicated parser in the source (C). Did I just miss it ?

:bust_in_silhouette: Reply From: yrtv

From TSCN documentation

For those looking for a complete description, the parsing is handled
in the file resource_format_text.cpp in the ResourceFormatLoaderText
class.

Thanks mate ! I guess I should have looked there before diving too deep

notrly1337 | 2021-10-05 21:10