public static void BuildList() { Actions.actionsList.Clear(); Assembly[] assemblies = AppDomain.get_CurrentDomain().GetAssemblies(); for (int i = 0; i < assemblies.Length; i++) { Assembly assembly = assemblies[i]; try { Type[] exportedTypes = assembly.GetExportedTypes(); Type[] array = exportedTypes; for (int j = 0; j < array.Length; j++) { Type type = array[j]; if (typeof(ISkillStateAction).IsAssignableFrom(type) && type.get_IsClass() && !type.get_IsAbstract() && (!FsmEditorSettings.HideObsoleteActions || (FsmEditorSettings.HideObsoleteActions && !CustomAttributeHelpers.IsObsolete(type)))) { Actions.actionsList.Add(type); } } } catch (Exception ex) { NotSupportedException arg_90_0 = ex as NotSupportedException; } } Actions.BuildCategoryList(); Actions.InitCategories(); Actions.UpdateUsage(); ActionScripts.Init(); ActionTargets.Init(); }