【森罗无尽】小人消失i修改
parent
898edb53be
commit
c2e97f144d
|
@ -91241,10 +91241,10 @@ RectTransform:
|
||||||
m_Father: {fileID: 667622548077141306}
|
m_Father: {fileID: 667622548077141306}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 0}
|
m_AnchorMin: {x: 0, y: 1}
|
||||||
m_AnchorMax: {x: 0, y: 0}
|
m_AnchorMax: {x: 0, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 124, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 248, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &5198151986810192474
|
--- !u!222 &5198151986810192474
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
@ -129713,7 +129713,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 1
|
m_IsActive: 0
|
||||||
--- !u!224 &667622548077141306
|
--- !u!224 &667622548077141306
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -129732,7 +129732,7 @@ RectTransform:
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: -0.0000000018626, y: 185.3}
|
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}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &637370238056003773
|
--- !u!222 &637370238056003773
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
local this = {}
|
local this = {}
|
||||||
local ctrlView = require("Modules/Map/View/MapControllView")
|
local ctrlView = require("Modules/Map/View/MapControllView")
|
||||||
|
|
||||||
local mapNpcOp = "UI_effect_DiTu_huoguang"
|
local mapNpcOp = "SingleFightPlayerView"
|
||||||
-- local mapNpc = "live2d_npc_map"
|
-- local mapNpc = "live2d_npc_map"
|
||||||
-- local mapNpc2 = "live2d_npc_map_nv"
|
-- local mapNpc2 = "live2d_npc_map_nv"
|
||||||
local npc, scale
|
local npc, scale
|
||||||
|
@ -142,6 +142,7 @@ function this.InitRolePre(u, v)
|
||||||
if this.NpcGO then
|
if this.NpcGO then
|
||||||
this.NpcGO:OnClose()
|
this.NpcGO:OnClose()
|
||||||
end
|
end
|
||||||
|
Util.GetTransform(this.leader, "root/ui/nemeDi"):SetActive(false)
|
||||||
this.NpcGO = PlayerLiveView:New(Util.GetTransform(this.leader, "root/ui/roleRoot"),1)
|
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)
|
this.NpcGO:OnOpen(GetPlayerRoleSingleConFig().Scale9,Vector3.New(0,40,0),WALK_DIR.IDLE_FRONT)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue