mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-05-08 18:14:26 +02:00
fix issue with param disabling
This commit is contained in:
parent
4a410a7f18
commit
ee142c9bcc
@ -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…
x
Reference in New Issue
Block a user