Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Unity Script Maker for VSCodeNew to Visual Studio Code? Get it now.
Unity Script Maker for VSCode

Unity Script Maker for VSCode

mc1214113371

|
24 installs
| (0) | Free
A Unity Script Maker for VSCode.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Unity Helper 使用说明

  1. 右键点击资源管理器中的文件夹。
  2. 选择相应的命令:
    • Unity Script: 选择脚本类型,然后输入脚本名称。
    • Unity Runtime Unit Test: 选择测试框架,然后输入测试名称。
    • Unity Shader: 选择着色器类型,然后输入着色器名称。

功能

此扩展提供以下功能:

  • 新建 Unity 脚本:通过右键菜单或命令面板创建新的 Unity 脚本文件。
  • 新建 Unity 单元测试:通过右键菜单或命令面板创建新的 Unity 单元测试文件。
  • 新建 Unity Shader:通过右键菜单或命令面板创建新的 Unity Shader 文件。

需求

此扩展需要 Visual Studio Code 版本 1.96.0 或更高版本。

扩展设置

此扩展贡献了以下设置:

  • unityHelper.enable: 启用/禁用此扩展。
  • unityHelper.defaultScriptName: 设置默认的 Unity 脚本名称。

已知问题

  • 在某些情况下,创建脚本时可能会遇到权限问题。
  • 如果文件名包含特殊字符,可能会导致创建失败。

发布说明

用户在您更新扩展时会欣赏发布说明。

1.0.0

初始版本,包含基本功能。

1.0.1

修复创建脚本时的权限问题。

1.1.0

添加新建 Unity Shader 功能。

Unity Helper

Description

Unity Helper is a VSCode extension designed to assist Unity development by providing quick commands to create Unity scripts, unit tests, and shaders.

Features

  • Create Unity Script: Quickly create MonoBehaviour, ScriptableObject, and State Machine Behaviour scripts.
  • Create Unity Unit Test: Supports creating NUnit and Unity runtime unit tests.
  • Create Unity Shader: Create standard surface shaders, unlit shaders, and image effect shaders.

Usage

  1. Right-click on a folder in the Explorer.
  2. Select the corresponding command:
    • Unity Script: Choose the script type and then enter the script name.
    • Unity Runtime Unit Test: Choose the test framework and then enter the test name.
    • Unity Shader: Choose the shader type and then enter the shader name.

Installation

  1. Open the Extensions view in VSCode.
  2. Search for "Unity Helper" and install it.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft