技能主要更新,修复卡顿并加入动画,以及各种其他更新。
This commit is contained in:
@@ -14,11 +14,11 @@ public class loadLittleGamesPrefab : MonoBehaviour
|
||||
|
||||
[Header("Prefab")]
|
||||
public GameObject littleGames_card_Prefab;
|
||||
[Tooltip("默认icon图")]
|
||||
[Tooltip("Ĭ��iconͼ")]
|
||||
public Sprite default_card_icon_sprite;
|
||||
|
||||
[Header("Refresh")]
|
||||
public Button refreshButton; // 点击触发重新扫描并刷新左侧列表
|
||||
public Button refreshButton; // �����������ɨ�貢ˢ������б�
|
||||
|
||||
[Header("H5 Root Path (optional, leave empty to use WebViewLauncher settings)")]
|
||||
public string h5RootPath;
|
||||
@@ -108,11 +108,11 @@ public class loadLittleGamesPrefab : MonoBehaviour
|
||||
continue;
|
||||
|
||||
// defaults
|
||||
string defName = "未知Html文件";
|
||||
string defAuthor = "未知作者";
|
||||
string defDesc = "暂无相关描述信息";
|
||||
string defIsOfficial = "未知来源";
|
||||
string defSource = "自定义渠道";
|
||||
string defName = "δ֪Html�ļ�";
|
||||
string defAuthor = "δ֪����";
|
||||
string defDesc = "�������������Ϣ";
|
||||
string defIsOfficial = "δ֪��Դ";
|
||||
string defSource = "�Զ�������";
|
||||
string defDateRaw = "19700101";
|
||||
|
||||
string cardName = GetMeta(meta, "card_name") ?? defName;
|
||||
@@ -128,12 +128,12 @@ public class loadLittleGamesPrefab : MonoBehaviour
|
||||
|
||||
if (cat == "_officialDocs" || cat == "_officialGames")
|
||||
{
|
||||
isOfficial = "官方";
|
||||
source = "小游戏DLC";
|
||||
isOfficial = "�ٷ�";
|
||||
source = "С��ϷDLC";
|
||||
}
|
||||
else
|
||||
{
|
||||
if (string.IsNullOrEmpty(isOfficial)) isOfficial = "第三方来源";
|
||||
if (string.IsNullOrEmpty(isOfficial)) isOfficial = "��������Դ";
|
||||
if (string.IsNullOrEmpty(source)) source = defSource;
|
||||
}
|
||||
|
||||
@@ -207,7 +207,7 @@ public class loadLittleGamesPrefab : MonoBehaviour
|
||||
if (!string.IsNullOrEmpty(h5RootPath) && Directory.Exists(h5RootPath))
|
||||
return h5RootPath;
|
||||
|
||||
var launcher = GameObject.FindObjectOfType<WebViewLauncher>();
|
||||
var launcher = Object.FindAnyObjectByType<WebViewLauncher>();
|
||||
if (launcher != null)
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
|
||||
Reference in New Issue
Block a user