Update - 1.9.0.103
EN: 1.9.0.103 CN: 1.9.0.104 JP: 1.9.0.106 KR: 1.9.0.108
This commit is contained in:
@@ -12,6 +12,7 @@ local ResTypeAny = GameResourceLoader.ResType.Any
|
||||
local typeof = typeof
|
||||
local TN = AllEnum.Actor2DType.Normal
|
||||
local TF = AllEnum.Actor2DType.FullScreen
|
||||
local b_UseLive2D_EX = false
|
||||
local RapidJson = require("rapidjson")
|
||||
local Actor_Node_Path = string.format("%sUI/CommonEx/Template/----Actor2D_Node----.prefab", Settings.AB_ROOT_PATH)
|
||||
local L2DType = {
|
||||
@@ -507,7 +508,7 @@ local GetActor2DParams = function(nPanelId, nCharId, nSkinId, param, nSpecifyTyp
|
||||
if mapSkinData == nil then
|
||||
printError("未找到角色皮肤数据")
|
||||
end
|
||||
local bL = tbConfig.bL2D and LocalSettingData.mapData.UseLive2D
|
||||
local bL = tbConfig.bL2D and LocalSettingData.mapData.UseLive2D or b_UseLive2D_EX
|
||||
if type(param) == "table" and param[1] == "TalentL2D" then
|
||||
bL = true
|
||||
end
|
||||
@@ -668,10 +669,7 @@ function Actor2DManager.ClearAll()
|
||||
mapL2DPrefab = {}
|
||||
mapSprite = {}
|
||||
mapBg = {}
|
||||
GameResourceLoader.Unload("Actor2D")
|
||||
GameResourceLoader.Unload("Disc")
|
||||
GameResourceLoader.Unload("CG")
|
||||
GameResourceLoader.Unload("Image")
|
||||
GameResourceLoader.Unload("UI")
|
||||
end
|
||||
function Actor2DManager.SetActor2D_ForSubSKill(nPanelId, rawImg, nCharId, nSkinId, param, nIndex)
|
||||
RT_SUB_SKILL_SHOW = true
|
||||
@@ -1098,6 +1096,9 @@ function Actor2DManager.GetActor2DTypeByPanel(nPanelId, nCharId)
|
||||
end
|
||||
return TF
|
||||
end
|
||||
function Actor2DManager.ForceUseL2D(bForce)
|
||||
b_UseLive2D_EX = bForce == true
|
||||
end
|
||||
function Actor2DManager.SwitchActor2DDragOffset()
|
||||
local mapCurChar = mapCurrent.tbChar[1]
|
||||
local tbRenderer = tbL2DRenderer[1]
|
||||
|
||||
Reference in New Issue
Block a user