sketchfab / godot-plugin

MIT License
109 stars 20 forks source link

godot-plugin does not work with Godot v4.1.1 #23

Open icyoda opened 1 year ago

icyoda commented 1 year ago

Trying to add the plugin to Godot v4.1.1 gives you the following:

res://addons/sketchfab/unzip.gd:29 - Parse Error: Identifier "Directory" not declared in the current scope. Did you mean to use "DirAccess"? res://addons/sketchfab/unzip.gd:37 - Parse Error: Identifier "Directory" not declared in the current scope. Did you mean to use "DirAccess"? res://addons/sketchfab/unzip.gd:46 - Parse Error: Identifier "Directory" not declared in the current scope. Did you mean to use "DirAccess"? res://addons/sketchfab/unzip.gd:52 - Parse Error: Identifier "File" not declared in the current scope. res://addons/sketchfab/unzip.gd:53 - Parse Error: Identifier "File" not declared in the current scope. res://addons/sketchfab/unzip.gd:56 - Parse Error: Identifier "File" not declared in the current scope. res://addons/sketchfab/plugin.gd:1 - Parse Error: Unexpected "Identifier" in class body.