Ejemplo n.º 1
0
        public static UnityType[] GetModuleTypes(string moduleName)
        {
            var runtimeTypeIndices = GetModuleTypeIndices(moduleName);

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