IResourceSystem
Posted: 07 Apr 2015, 23:55
I'm looking at some older code and I find this line but it says there is no IResourceSystem:
What would be the new way to do this?
Code: Select all
Noesis::Core::Ptr<Noesis::Resource::ResourceProvider> provider = *new Noesis::Resource::LocalResourceProvider(path.c_str());
// errors on this line
NsGetSystem<Noesis::Resource::IResourceSystem>()->AddProvider(provider.GetPtr());What would be the new way to do this?