MAC端Unity 修改默认创建 C# Script 脚本格式 ScriptTemplates

  找到你的Unity文件路径,右键显示包内容

然后在对应的路径中:

进去之后,修改你自己想要的格式即可~

我的是这样的..仅供参考..

 /*********************************************

 *

 *   Title: 

 *

 *   Description: 

 *

 *   Author: jin

 *

 *   Date: 

 *

 *   Modify: 

 * 

 *********************************************/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class #SCRIPTNAME# : MonoBehaviour {

    void Start () {
        #NOTRIM#
    }
    
    void Update () {
        #NOTRIM#
    }
}
原文地址:https://www.cnblogs.com/jbw752746541/p/10207701.html