Address review feedback: Research and design GDScript sandboxing approach #19
@@ -1,6 +1,6 @@
|
||||
extends SceneTree
|
||||
extends Node
|
||||
|
||||
func _init():
|
||||
func _ready():
|
||||
print("=== SANDBOX PROBE START ===")
|
||||
probe_script_loading()
|
||||
probe_os_apis()
|
||||
@@ -8,7 +8,7 @@ func _init():
|
||||
probe_network()
|
||||
probe_engine_apis()
|
||||
print("=== SANDBOX PROBE END ===")
|
||||
quit()
|
||||
get_tree().quit()
|
||||
|
||||
func probe_script_loading():
|
||||
print("--- Script loading ---")
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
[ext_resource type="Script" path="res://probe.gd" id="1"]
|
||||
|
||||
[node name="Probe" type="SceneTree"]
|
||||
[node name="Probe" type="Node"]
|
||||
script = ExtResource("1")
|
||||
|
||||
@@ -4,5 +4,5 @@ config_version=5
|
||||
[application]
|
||||
|
||||
config/name="sandbox_probe"
|
||||
run/main_scene=""
|
||||
run/main_scene="res://probe.tscn"
|
||||
config/features=PackedStringArray("4.6")
|
||||
|
||||
Reference in New Issue
Block a user