// Token: 0x060017AB RID: 6059 RVA: 0x00066D20 File Offset: 0x00064F20
 public static GameObject FindMasterPrefab([NotNull] string bodyName)
 {
     MasterCatalog.MasterIndex masterIndex = MasterCatalog.FindMasterIndex(bodyName);
     if (masterIndex.isValid)
     {
         return(MasterCatalog.GetMasterPrefab(masterIndex));
     }
     return(null);
 }
Exemple #2
0
        // Token: 0x060018E5 RID: 6373 RVA: 0x000777DC File Offset: 0x000759DC
        public static GameObject FindMasterPrefab([NotNull] string bodyName)
        {
            int num = MasterCatalog.FindMasterIndex(bodyName);

            if (num != -1)
            {
                return(MasterCatalog.GetMasterPrefab(num));
            }
            return(null);
        }