asset manager
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
|
||||
void C_MOBAPlayer::Precache()
|
||||
{
|
||||
g_pAssetManager->LoadModel("game/core/models/cube.fmdl");
|
||||
uint32_t uIndex = g_pAssetManager->LoadModel("game/core/models/cube.fmdl");
|
||||
V_printf("%u\n", uIndex);
|
||||
pModel = g_pAssetManager->GetModelByIndex(uIndex);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user