MaikKlein / unreal-rust

Rust integration for Unreal Engine 5
Apache License 2.0
2.11k stars 78 forks source link

Fix compilation error in UE5.1 #25

Open ScottKane opened 1 year ago

ScottKane commented 1 year ago

Compilation is failing because FEditorStyle doesn't exist, adding #include "EditorStyleSet.h" would fix this but as it's been deprecated switching to FAppStyle.GetBrush() seems to be the sensible option.