internal static Type getType(string name)
{
Type type = null;
AssemblyLoader.loadedAssemblies.TypeOperation(t =>
{
if (t.FullName == name)
{
type = t;
}
});
return type;
}
public GameScenesVisibility(params GameScenes[] gameScenes) { Type gameScenesVisibilityType = ToolbarTypes.getType("Toolbar.GameScenesVisibility"); realGameScenesVisibility = Activator.CreateInstance(gameScenesVisibilityType, new object[] { gameScenes }); visibleProperty = ToolbarTypes.getProperty(gameScenesVisibilityType, "Visible"); }