mirror of
https://github.com/galacean/engine.git
synced 2026-05-08 07:55:23 +08:00
15 lines
530 B
Plaintext
15 lines
530 B
Plaintext
---
|
|
order: 2
|
|
title: Creating Scripts
|
|
type: Script
|
|
label: Script
|
|
---
|
|
|
|
[Script components](/en/docs/script) are an important extension capability provided by the engine for developers. In the Galacean editor, scripts are also a type of asset.
|
|
|
|
## Using Scripts in the Editor
|
|
|
|
Using scripts in the editor is very convenient. You just need to create a script and then add the script to the script component of the entity.
|
|
|
|
<Image src="https://mdn.alipayobjects.com/huamei_fvsq9p/afts/img/A*Qw0rTbQPyWYAAAAAAAAAAAAADqiTAQ/original" />
|