找到Unity\Editor\Data\Resources\ScriptTemplates下的
81-C# Script-NewBehaviourScript.cs.txt
将内容设置为:
/*
* Author : YourName
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class #SCRIPTNAME# : MonoBehaviour
{
void Start()
{
#NOTRIM#
}
void Update()
{
#NOTRIM#
}
}