Godot除了用类名定义类外,还提供了称为SceneTree的强大工具,允许开发者在运行时管理和操纵游戏场景。 通过共同使用SceneTree和class—name,开发者可以动态地创建和管理游戏世界内的类例,为构建互动和动态的游戏环境提供灵活有效的方法。 Godot中类名的使用对于定义类和将其附在游戏世界的节点上至关重要,可以对游戏开发...
请问各位大佬,我用c..新人跟着网上教程做的,我给bullet节点用class_name定义成Bullets,按理说是可以全局访问到这个Bullets的呀,在节点界面也应该可以搜到这个Bullets节点的,但是一直报找不到的
Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; 32.0.15.6590) - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 Threads) Issue description If you put it before class_name but have other##comments followed by a blank line, they ...
Godot version:3.1 OS/device including version:Windows 10 64-bit Issue description: Previously (beforeclass_name) you had to make a plugin to add custom nodes, so when you now update a plugin with static typing which creates a custom node you will probably usecustom_namefor the auto completio...
Godot version 4.0 RC 3 System information Macbook m1 Issue description If I normally use: Skeleton2D.new() if works. If I use: @export_group("Skeleton2D") ... Skeleton2D.new() I get error: Invalid call. Nonexistent function 'new' in base...
Godot version 4.0 Beta 13 Mono System information Windows 10 Pro 22H2 Issue description This issue proves that #66419 is still not fixed I'm using Godot 4 Beta Mono and for some reason some projects glitch and keep showing me this error ...