Move passable and opaque into objectdef
This commit is contained in:
@@ -180,6 +180,10 @@ pub(crate) fn show_editor_panel(
|
||||
}
|
||||
|
||||
let obj = &mut board.objects[i];
|
||||
|
||||
ui.checkbox(&mut obj.passable, "Passable");
|
||||
ui.checkbox(&mut obj.opaque, "Opaque");
|
||||
|
||||
let current =
|
||||
obj.script_name.as_deref().unwrap_or("(none)").to_string();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user