mirror of
https://github.com/godotengine/godot-cpp-template.git
synced 2026-01-04 14:09:57 +03:00
Add an example class and some demo code to the project.
This commit is contained in:
6
demo/example.gd
Normal file
6
demo/example.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
extends Node
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
var example := ExampleClass.new()
|
||||
example.print_type(example)
|
||||
6
demo/example.tscn
Normal file
6
demo/example.tscn
Normal file
@@ -0,0 +1,6 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dh0oj81pufivs"]
|
||||
|
||||
[ext_resource type="Script" path="res://example.gd" id="1_jdh55"]
|
||||
|
||||
[node name="Node" type="Node"]
|
||||
script = ExtResource("1_jdh55")
|
||||
Reference in New Issue
Block a user