UnityEditor.CodeStrippingUtils.GetAllStrippableModules C# (CSharp) Method

GetAllStrippableModules() private static method

private static GetAllStrippableModules ( ) : HashSet
return HashSet
        private static HashSet<string> GetAllStrippableModules()
        {
            HashSet<string> set = new HashSet<string>();
            foreach (string str in ModuleMetadata.GetModuleNames())
            {
                if (ModuleMetadata.GetModuleStrippable(str))
                {
                    set.Add(str);
                }
            }
            return set;
        }

Usage Example

示例#1
0
 public static HashSet <string> GetNativeModulesToRegister(HashSet <string> nativeClasses)
 {
     if (nativeClasses == null)
     {
         return(CodeStrippingUtils.GetAllStrippableModules());
     }
     return(CodeStrippingUtils.GetRequiredStrippableModules(nativeClasses));
 }
All Usage Examples Of UnityEditor.CodeStrippingUtils::GetAllStrippableModules