fix interaction trigger flickering and throwing errors
parent
52994723b4
commit
7355c14020
|
@ -22,7 +22,7 @@ public partial class InteractionRay : RayCast2D
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_trigger is not null)
|
if (_trigger is not null && IsInstanceValid(_trigger))
|
||||||
{
|
{
|
||||||
if (_trigger != value)
|
if (_trigger != value)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue