[DF-2636] Added materials assign command
[DF-2825] Removed old source files. Fixed macos project of Resource Editor.