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;
|
||||
|
||||
// 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