📌  相关文章
📜  如何在 godot 中使事物不可见 - Go 编程语言 - Go 编程语言代码示例

📅  最后修改于: 2022-03-11 14:44:59.872000             🧑  作者: Mango

代码示例1
You can use hide() and show(). These functions are inherited from CanvasItem.

Sprites has these methods because it inherits Node2D, which inherits CanvasItem.
Most 2D nodes inherit CanvasItem and Node2D so you can call these functions 
on many different nodes.