att
Hi, I saved my node as node prefab, but don’t know how to load it in code. I want to load it as follow:
File *data = GetSubsystem<ResourceCache>()->GetFile("Objects/myPrefab.bin");
GetScene()->Instantiate(*data, pos, Quaternion::IDENTITY);
but failed.