mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-02-04 18:22:18 +08:00
UXAssist 1.2.4
This commit is contained in:
@@ -22,6 +22,7 @@ public class MyConfigWindow : MyWindowWithTabs
|
||||
|
||||
public override void _OnCreate()
|
||||
{
|
||||
base._OnCreate();
|
||||
_windowTrans = GetComponent<RectTransform>();
|
||||
OnUICreated?.Invoke(this, _windowTrans);
|
||||
AutoFitWindowSize();
|
||||
@@ -32,26 +33,16 @@ public class MyConfigWindow : MyWindowWithTabs
|
||||
public override void _OnDestroy()
|
||||
{
|
||||
_windowTrans = null;
|
||||
base._OnDestroy();
|
||||
}
|
||||
|
||||
public override bool _OnInit()
|
||||
{
|
||||
if (!base._OnInit()) return false;
|
||||
_windowTrans.anchoredPosition = new Vector2(0, 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void _OnFree()
|
||||
{
|
||||
}
|
||||
|
||||
public override void _OnOpen()
|
||||
{
|
||||
}
|
||||
|
||||
public override void _OnClose()
|
||||
{
|
||||
}
|
||||
|
||||
public override void _OnUpdate()
|
||||
{
|
||||
base._OnUpdate();
|
||||
|
||||
Reference in New Issue
Block a user