摘要: AngelScript作为一个嵌入式的脚本库不支持独立运作(原文: Being an embedded scripting library there isn't much that AngelScript allows the scripts to do by themselves,), 因此,应用程序必须先注册一个接口让脚本与应用程序交互(原文:so the first thing the application must do is to register the interface that the script will have to interact with the application.)。该接口可以由函数、变量、甚至是一个完整的类组成(原文:The interface may consist of functions, variables, and even complete classes.)。
阅读全文