public ImporterValueScope(ImporterValue <T> b, string valueName)
 {
     EditorGUILayout.BeginHorizontal();
     GUILayout.Space(20f);
     b.IsConfigurable = EditorGUILayout.Toggle(b.IsConfigurable, GUILayout.Width(10f));
     EditorGUI.BeginDisabledGroup(!b.IsConfigurable);
     GUILayout.Label(valueName, GUILayout.Width(120f));
 }
        public ImporterValueScopeRect(ImporterValue <T> b, string valueName, ref Rect rect, float indent = 0)
        {
            rect.y    += GUIHelper.Rects.NextItemY;
            rect.xMin -= GUIHelper.Rects.DefaultLabelWidth;

            var toggleRect = rect;

            toggleRect.width = 16f;
            b.IsConfigurable = EditorGUI.Toggle(toggleRect, b.IsConfigurable);
            var labelRect = rect;

            labelRect.xMin += GUIHelper.Rects.Indent;
            labelRect.width = 135f;
            EditorGUI.LabelField(labelRect, valueName);

            rect.xMin += GUIHelper.Rects.DefaultLabelWidth;
            EditorGUI.BeginDisabledGroup(!b.IsConfigurable);

            ImporterValueHeightCalc.Height += GUIHelper.Rects.NextItemY;
        }
 public ImporterLightTypeValue(ImporterValue <LightType> copy) : base(copy)
 {
 }
 public ImporterTextureFormatValue(ImporterValue <TextureImporterFormat> copy) : base(copy)
 {
 }
 public ImporterSpritePivotValue(ImporterValue <PivotMode> copy) : base(copy)
 {
 }
 public ImporterSpriteModeValue(ImporterValue <SpriteImportMode> copy) : base(copy)
 {
 }
 public ImporterCompressionValue(ImporterValue <TextureImporterCompression> copy) : base(copy)
 {
 }
 public ImporterWrapModeValue(ImporterValue <TextureWrapMode> copy) : base(copy)
 {
 }
Beispiel #9
0
 public ImporterIndexFormatValue(ImporterValue <ModelImporterIndexFormat> copy) : base(copy)
 {
 }
Beispiel #10
0
 public ImporterMaterialLocationValue(ImporterValue <ModelImporterMaterialLocation> copy) : base(copy)
 {
 }
Beispiel #11
0
 public ImporterAnimCompressionValue(ImporterValue <ModelImporterAnimationCompression> copy) : base(copy)
 {
 }
Beispiel #12
0
 public ImporterAnimationTypeValue(ImporterValue <ModelImporterAnimationType> copy) : base(copy)
 {
 }
Beispiel #13
0
 public ImporterMaterialSearchValue(ImporterValue <ModelImporterMaterialSearch> copy) : base(copy)
 {
 }
Beispiel #14
0
 public ImporterMaterialNamingValue(ImporterValue <ModelImporterMaterialName> copy) : base(copy)
 {
 }
Beispiel #15
0
 public ImporterImportTangensValue(ImporterValue <ModelImporterTangents> copy) : base(copy)
 {
 }
 public ImporterSampleRateValue(ImporterValue <AudioSampleRateSetting> copy) : base(copy)
 {
 }
 public ImporterTextureShapeValue(ImporterValue <TextureImporterShape> copy) : base(copy)
 {
 }
 public ImporterValue(ImporterValue <T> copy)
 {
     this.IsConfigurable = copy.IsConfigurable;
     this.Value          = copy.Value;
 }
 public ImporterFilterModeValue(ImporterValue <FilterMode> copy) : base(copy)
 {
 }
 public ImporterIntValue(ImporterValue <int> copy) : base(copy)
 {
 }
 public ImporterNPOTScaleValue(ImporterValue <TextureImporterNPOTScale> copy) : base(copy)
 {
 }
 public ImporterBoolValue(ImporterValue <bool> copy) : base(copy)
 {
 }
 public ImporterSpriteMeshTypeValue(ImporterValue <SpriteMeshType> copy) : base(copy)
 {
 }
 public ImporterFloatValue(ImporterValue <float> copy) : base(copy)
 {
 }
 public ImporterAlphaSourceValue(ImporterValue <TextureImporterAlphaSource> copy) : base(copy)
 {
 }
 public ImporterStringValue(ImporterValue <string> copy) : base(copy)
 {
 }
 public ImporterMipFilterValue(ImporterValue <TextureImporterMipFilter> copy) : base(copy)
 {
 }
 public ImporterAudioClipValue(ImporterValue <AudioClipLoadType> copy) : base(copy)
 {
 }
 public ImporterResizeAlgorithmValue(ImporterValue <TextureResizeAlgorithm> copy) : base(copy)
 {
 }
 public ImporterAudioCompressionValue(ImporterValue <AudioCompressionFormat> copy) : base(copy)
 {
 }