Skip to content

Instantly share code, notes, and snippets.

@JoseMiguelPizarro
Last active August 31, 2019 13:51
Show Gist options
  • Save JoseMiguelPizarro/4e98118aa44c0d63bd27423ca3661635 to your computer and use it in GitHub Desktop.
Save JoseMiguelPizarro/4e98118aa44c0d63bd27423ca3661635 to your computer and use it in GitHub Desktop.
using System.Collections.Generic;
using System;
public static class LevelMeshToolProvider
{
private static IEnumerable<Type> GetAllTypes(AppDomain domain)
{
foreach (var assembly in domain.GetAssemblies())
{
Type[] types = assembly.GetTypes();
foreach (var type in types)
{
yield return type;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment