find method
Find a child matching the name
Implementation
SceneObject? find(Pattern name) {
for (SceneObject child in children) {
if (child.name != null && (name as RegExp).hasMatch(child.name!))
return child;
final SceneObject? result = child.find(name);
if (result != null) return result;
}
return null;
}