From 6d101512ba4cb8e37a98ace6320a0b70c96efa2b Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 17 四月 2019 10:34:06 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/KnapSack/Logic/ModelShowPerfab.cs | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/System/KnapSack/Logic/ModelShowPerfab.cs b/System/KnapSack/Logic/ModelShowPerfab.cs
index f64c1b3..acfd640 100644
--- a/System/KnapSack/Logic/ModelShowPerfab.cs
+++ b/System/KnapSack/Logic/ModelShowPerfab.cs
@@ -20,12 +20,12 @@
{
switch (showType)
{
- case ModelShowType.treasure:
- UI3DTreasureExhibition.Instance.StopShow();
+ case ModelShowType.Treasure:
+ UI3DTreasureExhibition.Instance.Stop();
break;
- case ModelShowType.mount:
+ case ModelShowType.Mount:
break;
- case ModelShowType.pet:
+ case ModelShowType.Pet:
break;
}
}
@@ -37,15 +37,15 @@
switch (showType)
{
- case ModelShowType.treasure:
+ case ModelShowType.Treasure:
fightImg.SetSprite("FightingLv_Normal");
- UI3DTreasureExhibition.Instance.BeginShowTreasure(id, modelImg);
+ UI3DTreasureExhibition.Instance.ShowTreasure(id, modelImg);
break;
- case ModelShowType.mount:
+ case ModelShowType.Mount:
fightImg.SetSprite("FightingLv_Max");
UI3DModelExhibition.Instance.ShowHourse(id, modelImg);
break;
- case ModelShowType.pet:
+ case ModelShowType.Pet:
fightImg.SetSprite("FightingLv_Max");
var npcConfig = NPCConfig.Get(id);
UI3DModelExhibition.Instance.ShowNPC(id, npcConfig.UIModeLOffset, npcConfig.UIModelRotation, modelImg);
@@ -131,9 +131,9 @@
public enum ModelShowType
{
- treasure, //娉曞疂
- mount, //鍧愰獞
- pet, //鐏靛疇
+ Treasure, //娉曞疂
+ Mount, //鍧愰獞
+ Pet, //鐏靛疇
FashionDress, //鏃惰
}
--
Gitblit v1.8.0