Update - 1.14.0.129
EN: 1.14.0.129 CN: 1.14.0.129 JP: 1.14.0.133 KR: 1.14.0.135
This commit is contained in:
@@ -545,7 +545,7 @@ function ChapterLineCtrl:CheckLineReasonable(grid)
|
||||
local parentAvgId = storyConfig.ParentStoryId[index]
|
||||
local curBorderPos = self.tbGridBorderPos and self.tbGridBorderPos[avgId]
|
||||
local parentBorderPos = self.tbGridBorderPos and self.tbGridBorderPos[parentAvgId]
|
||||
if parentBorderPos.grid ~= nil and parentBorderPos.grid.gameObject.activeInHierarchy ~= false and curBorderPos ~= nil and curBorderPos.left ~= nil and parentBorderPos ~= nil and parentBorderPos.right ~= nil then
|
||||
if curBorderPos ~= nil and curBorderPos.left ~= nil and parentBorderPos ~= nil and parentBorderPos.right ~= nil then
|
||||
local isHitA, worldPosA = RectTransformUtility.ScreenPointToWorldPointInRectangle(grid, parentBorderPos.right, uiCamera)
|
||||
local isHitB, worldPosB = RectTransformUtility.ScreenPointToWorldPointInRectangle(grid, curBorderPos.left, uiCamera)
|
||||
local localPosA = grid:InverseTransformPoint(worldPosA)
|
||||
|
||||
Reference in New Issue
Block a user