| 646 | } |
| 647 | |
| 648 | Asset* Content::LoadAsyncInternal(const StringView& internalPath, const MClass* type) |
| 649 | { |
| 650 | CHECK_RETURN(type, nullptr); |
| 651 | const auto scriptingType = Scripting::FindScriptingType(type->GetFullName()); |
| 652 | if (scriptingType) |
| 653 | return LoadAsyncInternal(internalPath, scriptingType); |
| 654 | LOG(Error, "Failed to find asset type '{0}'.", String(type->GetFullName())); |
| 655 | return nullptr; |
| 656 | } |
| 657 | |
| 658 | Asset* Content::LoadAsyncInternal(const StringView& internalPath, const ScriptingTypeHandle& type) |
| 659 | { |
nothing calls this directly
no test coverage detected