fix conveyor move

This commit is contained in:
lwj
2025-07-23 10:28:20 +09:00
parent 7d3e2c7a5f
commit 05ae017731

View File

@@ -296,11 +296,11 @@ public class SimulationModelConveyor : SimulationModel
currentBubble = Instantiate(bubbleUIPrefab, FindAnyObjectByType<Canvas_Bubble>().transform);
currentBubble.target = DataBubbleSocket;
currentBubble.worldOffset = new Vector3(0, 1.0f, 0); // 필요에 따라 조절
currentBubble.GetComponent<RectTransform>().SetAsFirstSibling();
}
// 텍스트 갱신
currentBubble.SetMessage(msg);
currentBubble.SetDetail(msg, logicType.conveyor, LogicUIManager.instance.GetItemLabelByID(nodeID));
currentBubble.GetComponent<RectTransform>().SetAsFirstSibling();
}
}