From d4982c1f3042e13645c26ff5f9a5d9889943d657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=80=90=E7=A8=8B=E5=BA=8F=E3=80=91=E7=A8=8B=E4=B8=80?= =?UTF-8?q?=E5=B3=B0?= <649669121@qq.com> Date: Mon, 26 Feb 2024 10:30:52 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90Fix=E3=80=91=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E5=88=9B=E5=BB=BA=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0=E5=B9=B4=E4=BB=BD=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/CreateScriptByTemplate.cs | 2 +- Editor/LycianthesScriptCreator.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Editor/CreateScriptByTemplate.cs b/Editor/CreateScriptByTemplate.cs index e2141ab..f2616da 100644 --- a/Editor/CreateScriptByTemplate.cs +++ b/Editor/CreateScriptByTemplate.cs @@ -117,7 +117,7 @@ namespace Lycianthes { StringBuilder summary = new StringBuilder(); summary.Append("/*\n"); - summary.Append($" *Copyright(C) 2023 by {LycianthesConfig.GetInstance().CompanyName} All rights reserved.\n"); + summary.Append($" *Copyright(C) {System.DateTime.Now.Year} by {LycianthesConfig.GetInstance().CompanyName} All rights reserved.\n"); summary.Append($" *Unity版本:{Application.unityVersion} \n"); summary.Append($" *作者:{LycianthesConfig.GetInstance().AuthorName} \n"); summary.Append($" *创建日期: {System.DateTime.Now.ToString("yyyy-MM-dd")} \n"); diff --git a/Editor/LycianthesScriptCreator.cs b/Editor/LycianthesScriptCreator.cs index 2915838..562a99e 100644 --- a/Editor/LycianthesScriptCreator.cs +++ b/Editor/LycianthesScriptCreator.cs @@ -11,7 +11,6 @@ using Sirenix.OdinInspector; using System; using System.Collections.Generic; using UnityEditor; -using UnityEngine; namespace Lycianthes { -- GitLab