diff --git a/Editor/CreateScriptByTemplate.cs b/Editor/CreateScriptByTemplate.cs index e2141ab208da1302ec0da2d542c5e40f934b8e8f..f2616daa195e457f342991ca330b8a47d802852c 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 291583814c4cb6cfbc1e7bb4f439d851eb00053f..562a99ec824fd394536c375b6bdbadfb76151e4f 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 {