UnityEditor.EditorPluginImporterExtension.GetProperties C# (CSharp) Method

GetProperties() private static method

private static GetProperties ( ) : UnityEditor.Modules.DefaultPluginImporterExtension.Property[]
return UnityEditor.Modules.DefaultPluginImporterExtension.Property[]
        private static DefaultPluginImporterExtension.Property[] GetProperties()
        {
            return new DefaultPluginImporterExtension.Property[] { new DefaultPluginImporterExtension.Property(EditorGUIUtility.TextContent("CPU|Is plugin compatible with 32bit or 64bit Editor?"), "CPU", EditorPluginCPUArchitecture.AnyCPU, BuildPipeline.GetEditorTargetName()), new DefaultPluginImporterExtension.Property(EditorGUIUtility.TextContent("OS|Is plugin compatible with Windows, OS X or Linux Editor?"), "OS", EditorPluginOSArchitecture.AnyOS, BuildPipeline.GetEditorTargetName()) };
        }

Usage Example

示例#1
0
 public EditorPluginImporterExtension()
     : base(EditorPluginImporterExtension.GetProperties())
 {
 }