提交 c21a05ee 编写于 作者: 魔术师Dix's avatar 魔术师Dix

自动获取一些配置信息;

上级 9763540f
......@@ -9,6 +9,7 @@
using Sirenix.OdinInspector;
using System;
using UnityEditor;
using UnityEngine;
namespace Lycianthes
......@@ -36,7 +37,9 @@ namespace Lycianthes
if (!PlayerPrefs.HasKey(KEY_LYCIANTHES_CONFIG))
{
instance = new LycianthesConfig(); ;
instance = new LycianthesConfig();
instance.CompanyName = PlayerSettings.companyName;
instance.AuthorName = "New User";
return instance;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册