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