XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEExtension.SpaceEngineers.ScriptingHelper

【DLL】太空工程师SpaceEngineer脚本依赖辅助

公开
关注 0 Fork 0 Star 0
UTF-8

XFEExtension.SpaceEngineers.ScriptingHelper

Space Engineers Scripting Helper

Thank you for installing XFEExtension.SpaceEngineers.ScriptingHelper!

How to use:

  1. This package has added a 'ProgramBase.cs' file to your project.

  2. Your main 'Program' class should inherit from 'ProgramBase':

    public class Program : ProgramBase { public override void Main(string argument, UpdateType updateSource) { // Your code here } }

  3. When you are ready to deploy to Space Engineers:

    • Copy the content of your 'Program' class.
    • Copy the content of 'ProgramBase' class (helper methods).
    • Paste them into the in-game script editor.

Features:

  • GetBlock
  • GetBlock
  • GetBlocks

Happy scripting!


Space Engineers 脚本助手

感谢您安装 XFEExtension.SpaceEngineers.ScriptingHelper!

使用方法:

  1. 此包已向您的项目添加了 'ProgramBase.cs' 文件。

  2. 您的主 'Program' 类应继承自 'ProgramBase':

    public class Program : ProgramBase { public override void Main(string argument, UpdateType updateSource) { // 您的代码写在这里 } }

  3. 当您准备部署到《太空工程师》时:

    • 复制您的 'Program' 类里面的内容。
    • 复制 'ProgramBase' 类的内容(辅助方法)。
    • 将它们粘贴到游戏内的脚本编辑器中。

功能:

  • GetBlock
  • GetBlock
  • GetBlocks

祝您编程愉快!