public static UnityType[] GetModuleTypes(string moduleName) { var runtimeTypeIndices = GetModuleTypeIndices(moduleName); return(runtimeTypeIndices.Select(index => UnityType.GetTypeByRuntimeTypeIndex(index)).ToArray()); }
public static UnityType[] GetModuleTypes(string moduleName) { uint[] moduleTypeIndices = ModuleMetadata.GetModuleTypeIndices(moduleName); return((from index in moduleTypeIndices select UnityType.GetTypeByRuntimeTypeIndex(index)).ToArray <UnityType>()); }