What do you mean by launching the 3d model?
You could use a ScriptableObject.
The scriptable object could contain a list of entries, each entry has a unique barcode id, and a reference to the prefab in the assets folder.
public class BarcodeSO: ScriptableObject
{
[Serializable]
public class BarcodeEntry
{
public int barcodeNumber;
public GameObject modelPrefab;
}
public BarcodeEntry[] entries;
public GameObject GetModelPrefab (int barcodeNumber)
{
var entry = entries.ToList<BarcodeEntry> ().Find ((x => x.barcodeNumber == barcodeNumber));
return entry.modelPrefab;
}
}
Then to search and create an instance of the model in the scene:
var prefab = barcodeSO.GetModelPrefab (barcodeNumber);
var modelInstance = Instantiate (prefab);