Files
engine/docs/zh/script/script.mdx
鹅叔 dc1a4793ed Docs: remove playgrounds (#2689)
* fix: doc typo
2025-05-23 17:24:53 +08:00

17 lines
843 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
order: 0
title: 脚本总览
type: 脚本
label: Script
---
除了[内置组件](/docs/core/component/)之外Galacean 引擎还提供了强大的脚本系统。脚本系统是衔接引擎能力和游戏逻辑的纽带,它扩展自 [Script](/apis/galacean/#Script)  基类,你可以通过自定义脚本扩展引擎的功能,也可以在脚本组件提供的生命周期钩子函数中编写自己的游戏逻辑代码。
在本章节,您可以了解到:
- [脚本类](/docs/script/class/):脚本回调的生命周期及如何用脚本控制实体
- 脚本工作流
- [创建脚本](/docs/script/create/):声明与绑定脚本
- [编辑脚本](/docs/script/edit/):脚本编辑界面,引入三方包,预览及事件调试
- [脚本参数](/docs/script/attributes/)
- [事件通信](/docs/script/communication/)