Availability: Docs Title:关卡脚本 Crumbs:%ROOT%, Resources Description:关卡脚本示例关卡概述 [REGION:banner] ![](level_scripting_header.png)(convert:false) [/REGION] [TOC(start:2 end:2)] [VAR:Topic] [OBJECT:Topic] [PARAM:image] ![%Resources/ContentExamples/LevelScripting:title%](level_scripting_topic.png) [/PARAM] [PARAM:title] %Resources/ContentExamples/LevelScripting:title% [/PARAM] [PARAM:description] %Resources/ContentExamples/LevelScripting:description% [/PARAM] [PARAM:path] [/PARAM] [/OBJECT] [/VAR] [VAR:TopicCompact] [OBJECT:TopicCompact] [PARAM:image] ![%Resources/ContentExamples/LevelScripting:title%](level_scripting_topic.png) [/PARAM] [PARAM:title] %Resources/ContentExamples/LevelScripting:title% [/PARAM] [PARAM:description] %Resources/ContentExamples/LevelScripting:description% [/PARAM] [PARAM:path] [/PARAM] [/OBJECT] [/VAR] 欢迎来到 **关卡脚本** 示例关卡! [INCLUDE:Resources\ContentExamples\ExampleLevelOverview#ExampleLevel] 本内容示例着重于如何使用关卡脚本,使其成为对您的游戏关卡创建游戏性的一种方式。这非常类似于创建[类蓝图](Engine/Blueprints\UserGuide\Types\ClassBlueprint),但仍有所不同,为关卡而创建的关卡脚本将 _总是_ 来源于关卡中。这表示,您的关卡脚本并不是类蓝图那样的可放置资源,它们本身为不可放置资源,也不能放置资源在它们中。 您可以[打开关卡蓝图](Engine/Blueprints\UserGuide\Types\LevelBlueprint)以查看本内容示例的所有关卡脚本设置。 ## 示例 [REGION:topics fourth] %Resources/ContentExamples/LevelScripting/1_1:TopicCompact% %Resources/ContentExamples/LevelScripting/1_2:TopicCompact% %Resources/ContentExamples/LevelScripting/1_3:TopicCompact% %Resources/ContentExamples/LevelScripting/1_4:TopicCompact% [/REGION] ## 相关主题及扩展阅读 * [蓝图](Engine/Blueprints) * [Matinee和动画处理工具](Engine/Matinee)