public ftLightmapsStorage FindPrefabStorage(BakeryLightmappedPrefab pref)
    {
        var p         = pref.gameObject;
        var bdataName = "BakeryPrefabLightmapData";
        var pstoreT   = p.transform.Find(bdataName);

        if (pstoreT == null)
        {
            var pstoreG = new GameObject();
            pstoreG.name   = bdataName;
            pstoreT        = pstoreG.transform;
            pstoreT.parent = p.transform;
        }
        var pstore = pstoreT.gameObject.GetComponent <ftLightmapsStorage>();

        if (pstore == null)
        {
            pstore = pstoreT.gameObject.AddComponent <ftLightmapsStorage>();
        }
        return(pstore);
    }
 void Refresh(BakeryLightmappedPrefab selected)
 {
     allPrefabsGood = selected.IsValid() && allPrefabsGood;
 }