提交 8aa542d9 编写于 作者: 开发游戏的老王's avatar 开发游戏的老王

18.[知识点]两行代码实现观察者模式(Observer Pattern),就问你服不服?

上级 ec6376d8
{
"node_id": "game-a55d395e3c414c7ca28404b395b1afbb",
"keywords": [],
"children": [],
"export": [
"learn.json"
],
"keywords_must": [],
"keywords_forbid": [],
"group": 0
}
\ No newline at end of file
{
"type": "code_options",
"author": "hello_tute",
"source": "learn.md",
"notebook_enable": false,
"exercise_id": "275b608abf8d4774ad570bc0e3985062"
}
\ No newline at end of file
# [知识点]两行代码实现观察者模式(Observer Pattern),就问你服不服?
请先阅读本节讲义⬇
[《两行代码实现观察者模式(Observer Pattern),就问你服不服?》](https://orzgame.blog.csdn.net/article/details/105120001)
在Godot引擎中最直接且最快速实现观察者模式的机制是什么?
## 答案
Godot的组(Group)机制
## 选项
### A
Godot的AutoLoad机制
### B
Godot的信号(Signal)机制
### C
Godot节点树
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册