【森罗无尽】小人消失i修改

dev_chengFeng
ZhangBiao 2021-04-23 16:04:28 +08:00
parent 898edb53be
commit c2e97f144d
2 changed files with 8 additions and 7 deletions

View File

@ -91241,10 +91241,10 @@ RectTransform:
m_Father: {fileID: 667622548077141306}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 124, y: 0}
m_SizeDelta: {x: 248, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5198151986810192474
CanvasRenderer:
@ -129713,7 +129713,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &667622548077141306
RectTransform:
m_ObjectHideFlags: 0
@ -129732,7 +129732,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -0.0000000018626, y: 185.3}
m_SizeDelta: {x: 0, y: 65.18}
m_SizeDelta: {x: 248, y: 65.18}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &637370238056003773
CanvasRenderer:

View File

@ -2,7 +2,7 @@
local this = {}
local ctrlView = require("Modules/Map/View/MapControllView")
local mapNpcOp = "UI_effect_DiTu_huoguang"
local mapNpcOp = "SingleFightPlayerView"
-- local mapNpc = "live2d_npc_map"
-- local mapNpc2 = "live2d_npc_map_nv"
local npc, scale
@ -142,6 +142,7 @@ function this.InitRolePre(u, v)
if this.NpcGO then
this.NpcGO:OnClose()
end
Util.GetTransform(this.leader, "root/ui/nemeDi"):SetActive(false)
this.NpcGO = PlayerLiveView:New(Util.GetTransform(this.leader, "root/ui/roleRoot"),1)
this.NpcGO:OnOpen(GetPlayerRoleSingleConFig().Scale9,Vector3.New(0,40,0),WALK_DIR.IDLE_FRONT)
end