Fixed for avoiding scripts execution order
This commit is contained in:
parent
63d3d908e8
commit
33d0a9078f
@ -31,7 +31,11 @@ namespace NEG.UI.Area
|
|||||||
{
|
{
|
||||||
if (setAsDefaultArea)
|
if (setAsDefaultArea)
|
||||||
UiManager.Instance.CurrentArea = this;
|
UiManager.Instance.CurrentArea = this;
|
||||||
else
|
}
|
||||||
|
|
||||||
|
protected void Start()
|
||||||
|
{
|
||||||
|
if(!setAsDefaultArea)
|
||||||
SetEnabled(false);
|
SetEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user