Выбор файлов в GodotC#

Место общения программистов C#
Гость
Выбор файлов в Godot

Сообщение Гость »


I can't find a structure representing a file in Godot to use in the editor
I want to add a property to my Node
something like:

Код: Выделить всё

[GlobalClass]
public partial class MyObj : Node2D
{
[Export] public File myFile;

...
It should be possible to pick a file (a file location) and assign it to that variable, is it possible?


Источник: https://stackoverflow.com/questions/781 ... r-in-godot

Вернуться в «C#»