// Token: 0x060018E4 RID: 6372 RVA: 0x000777C3 File Offset: 0x000759C3 public static int FindMasterIndex(GameObject bodyObject) { if (!bodyObject) { return(-1); } return(MasterCatalog.FindMasterIndex(bodyObject.name)); }
// Token: 0x060017AA RID: 6058 RVA: 0x00066D03 File Offset: 0x00064F03 public static MasterCatalog.MasterIndex FindMasterIndex(GameObject masterObject) { if (!masterObject) { return(MasterCatalog.MasterIndex.none); } return(MasterCatalog.FindMasterIndex(masterObject.name)); }
// 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); }
// 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); }