Check sample.tscn as a upload & download example.

This commit is contained in:
yiyuezhuo 2022-05-08 01:17:44 +08:00 committed by Miks Ramāns
parent 4af1125541
commit 891e6b01d1
4 changed files with 8 additions and 5 deletions

View File

@ -1,8 +1,11 @@
# HTML5 File Exchange for Godot 3.2 # HTML5 File Exchange for Godot 3.4
## Usage ## Usage
Check sample.tscn as a upload & download example.
### Without sample
* Copy addons to your project. * Copy addons to your project.
* Enable the plugin. (A `HTML5File` singleton should be added into autoload list). * Enable the plugin. (A `HTML5File` singleton should be added into autoload list).
* Add a HTML5 export item to enable HTML5 debugging option. * If the HTML5 debugging option is not enabled, add a HTML5 export item.
* Check sample.tscn for usage.

View File

@ -11,7 +11,7 @@ config_version=4
[application] [application]
config/name="HTML5-File-Exchange-for-Godot" config/name="HTML5-File-Exchange-for-Godot"
run/main_scene="res://addons/HTML5FileExchange/sample.tscn" run/main_scene="res://sample.tscn"
config/icon="res://icon.png" config/icon="res://icon.png"
[autoload] [autoload]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=2] [gd_scene load_steps=2 format=2]
[ext_resource path="res://addons/HTML5FileExchange/Sample.gd" type="Script" id=1] [ext_resource path="res://Sample.gd" type="Script" id=1]
[node name="Control" type="Control"] [node name="Control" type="Control"]
anchor_right = 1.0 anchor_right = 1.0