Script Templates makes it easy to create custom script templates directly inside the Unity Editor.
By default, Unity creates a basic MonoBehaviour script with a Start and Update method whenever you create a new script. But what if you want something different - like a ScriptableObject, a plain C# class, a struct or directly inherit from your own custom base class? Normally, you'd have to rewrite the boilerplate every time.
Script Templates saves you time by letting you create and manage your own templates. Quickly generate exactly the script you need, whether it's a ScriptableObject, a clean class, or anything else - no more repetitive editing.
Focus on what matters: building great games, faster!
Features
Create custom script templates from the Editor
Easily manage and modify your templates
Instantly generate ScriptableObjects, plain C# classes, structs, and more
Speed up your workflow and eliminate boilerplate code
Get started quickly with our Get Started Guide
Bundle Option
Script Templates is also included in our Ultimate Asset Bundle, featuring all of our current and future assets at a great discount.
脚本模板可让您直接在 Unity 编辑器中轻松创建自定义脚本模板。
默认情况下,Unity 会创建一个基本的 MonoBehaviour 脚本,其中包含启动和更新方法。但如果你想要不同的东西,比如 ScriptableObject、普通 C# 类、结构体或直接继承自你自己的自定义基类,该怎么办呢?通常情况下,你不得不每次都重写模板。
脚本模板可让你创建和管理自己的模板,从而节省时间。无论是脚本对象(ScriptableObject)、简洁类还是其他任何内容,都能快速准确地生成所需的脚本--再也不用重复编辑了。
专注于最重要的事情:更快地制作出色的游戏!
功能特点
从编辑器中创建自定义脚本模板
轻松管理和修改模板
即时生成脚本对象、纯 C# 类、结构体等
加快工作流程,消除模板代码
通过我们的入门指南快速入门
软件包选项
脚本模板还包含在我们的 “终极资产包”(Ultimate Asset Bundle)中,以超低折扣提供我们当前和未来的所有资产。
|