mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-14 05:35:08 +00:00
fix issue with param disabling
This commit is contained in:
parent
4a410a7f18
commit
ee142c9bcc
2 changed files with 1 additions and 2 deletions
|
@ -9,10 +9,8 @@ namespace HeavenStudio.Editor
|
||||||
{
|
{
|
||||||
public EventParameterManager eventParameterManager;
|
public EventParameterManager eventParameterManager;
|
||||||
|
|
||||||
// this is programmed on duct tape https://youtu.be/zMWA0ipQ94w?t=868
|
|
||||||
private void LateUpdate()
|
private void LateUpdate()
|
||||||
{
|
{
|
||||||
eventParameterManager.canDisable = true;
|
|
||||||
for (int i = 0; i < transform.childCount; i++)
|
for (int i = 0; i < transform.childCount; i++)
|
||||||
{
|
{
|
||||||
if (Editor.MouseInRectTransform(transform.GetChild(i).GetComponent<RectTransform>()))
|
if (Editor.MouseInRectTransform(transform.GetChild(i).GetComponent<RectTransform>()))
|
||||||
|
|
|
@ -49,6 +49,7 @@ namespace HeavenStudio.Editor
|
||||||
Disable();
|
Disable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
canDisable = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Disable()
|
public void Disable()
|
||||||
|
|
Loading…
Reference in a new issue