| 689 | } |
| 690 | |
| 691 | Asset* Content::LoadAsync(const StringView& path, const MClass* type) |
| 692 | { |
| 693 | CHECK_RETURN(type, nullptr); |
| 694 | const auto scriptingType = Scripting::FindScriptingType(type->GetFullName()); |
| 695 | if (scriptingType) |
| 696 | return LoadAsync(path, scriptingType); |
| 697 | LOG(Error, "Failed to find asset type '{0}'.", String(type->GetFullName())); |
| 698 | return nullptr; |
| 699 | } |
| 700 | |
| 701 | Asset* Content::LoadAsync(const StringView& path, const ScriptingTypeHandle& type) |
| 702 | { |
no test coverage detected