feat: zones

This commit is contained in:
Nova
2022-10-20 11:32:12 -04:00
parent 44b91bf0e8
commit b189a6a73c
16 changed files with 244 additions and 17 deletions

View File

@@ -233,7 +233,7 @@ pub fn create_input_handler_flex(
let field = find_field(&calling_client, info.field_path)?;
let node = Node::create(&calling_client, "/input/handler", info.name, true).add_to_scenegraph();
Spatial::add_to(&node, Some(parent), transform)?;
Spatial::add_to(&node, Some(parent), transform, false)?;
InputHandler::add_to(&node, &field)?;
Ok(())
}