Add break
This commit is contained in:
@@ -37,6 +37,7 @@ namespace FlaxEditor.SceneGraph.Actors
|
|||||||
if (uiControl.Get<CanvasScaler>() == null)
|
if (uiControl.Get<CanvasScaler>() == null)
|
||||||
continue;
|
continue;
|
||||||
canSpawn = false;
|
canSpawn = false;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (canSpawn)
|
if (canSpawn)
|
||||||
|
|||||||
Reference in New Issue
Block a user