Unity3D说明文档翻译-Scripting

来源:互联网 发布:python能用来做什么 编辑:程序博客网 时间:2024/05/21 11:10

Scripting

脚本编撰

Scripting is an essential ingredient in all games. Even the simplest game will need scripts to respond to input from the player and arrange for events in the gameplay to happen when they should. Beyond that, scripts can be used to create graphical effects, control the physical behaviour of objects or even implement a custom AI system for characters in the game.

编写脚本是所有游戏必须的组成部分.甚至最简单的游戏也将需要脚本来相应来自玩家的输入和安排游戏内发生的事件.除此之外,脚本可被用于创建图像效果,控制对象的物理行为或者甚至实现一个游戏内角色的自定义AI系统.

Scripting is a skill that takes some time and effort to learn; the intention of this section is not to teach you how to write script code from scratch but rather to explain the main concepts that apply to scripting in Unity.

脚本编写是一个技巧要一些时间和努力来学习.此部分的意图不是教你如何从头开始写脚本代码,而是在说明应用于在Unity中编写脚本的主要概念.

 

0 0
原创粉丝点击