-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtest1.tscn
More file actions
42 lines (28 loc) · 998 Bytes
/
test1.tscn
File metadata and controls
42 lines (28 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[gd_scene load_steps=5 format=3 uid="uid://0jeuqgvj2bk0"]
[ext_resource type="Script" path="res://main.gd" id="1_e41ey"]
[ext_resource type="Script" path="res://node_2.gd" id="2_q2wwt"]
[sub_resource type="GDScript" id="GDScript_hsnl1"]
script/source = "extends Node
var n # Test of buildin script
func foo() -> Vector2:
return Vector2(1,2)
func bar(a:String,b:NodePath):
pass
func _ready() -> void:
n = Interfaces.as_interface(A.new(),\"I\")
#18-'I'"
[sub_resource type="GDScript" id="GDScript_ijysv"]
script/source = "extends Node
const IMPLEMENTS = [preload(\"res://inter5.gd\")]
#var resource_path := \"test1.tscn\"
func _ready() -> void:
print(\"Interfaces:I, I2, I4\")
"
[node name="Node" type="Node"]
script = ExtResource("1_e41ey")
[node name="Node" type="Node" parent="."]
script = SubResource("GDScript_hsnl1")
[node name="Node2" type="Node" parent="."]
script = ExtResource("2_q2wwt")
[node name="Node3" type="Node" parent="."]
script = SubResource("GDScript_ijysv")