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