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