mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-11 06:03:31 +08:00
fix
This commit is contained in:
@@ -29,6 +29,10 @@ public class MyWindow: ManualBehaviour
|
||||
public void Open()
|
||||
{
|
||||
_Open();
|
||||
}
|
||||
|
||||
public override void _OnUpdate()
|
||||
{
|
||||
transform.SetSiblingIndex(UIRoot.instance.uiMechaEditor.transform.GetSiblingIndex() + 1);
|
||||
}
|
||||
|
||||
@@ -75,6 +79,7 @@ public class MyWindow: ManualBehaviour
|
||||
dst.gameObject.name = objName;
|
||||
var btn = dst.GetComponent<UIButton>();
|
||||
Util.NormalizeRectWithTopLeft(btn, x, y, parent);
|
||||
btn.tips.topLevel = true;
|
||||
btn.tips.tipTitle = label;
|
||||
btn.tips.tipText = tip;
|
||||
btn.UpdateTip();
|
||||
|
||||
Reference in New Issue
Block a user