Beispiel #1
0
        public static UnityType[] GetModuleTypes(string moduleName)
        {
            var runtimeTypeIndices = GetModuleTypeIndices(moduleName);

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