public Object FindAsset(int fileIndex, long pathID) { if (fileIndex == VirtualSerializedFile.VirtualFileIndex) { return(VirtualFile.FindAsset(pathID)); } else { return(File.FindAsset(fileIndex, pathID)); } }
public Object FindObject(int fileIndex, long pathID) { if (fileIndex == PPtr <Object> .VirtualFileIndex) { return(VirtualFile.FindAsset(pathID)); } else { return(File.FindAsset(fileIndex, pathID)); } }
public Object FindAsset(ClassIDType classID, string name) { Object asset = VirtualFile.FindAsset(classID, name); return(asset ?? File.FindAsset(classID, name)); }
public Object FindAsset(ClassIDType classID) { Object asset = VirtualFile.FindAsset(classID); return(asset ?? File.FindAsset(classID)); }