Commit 238a17d 1 parent 97237b3 commit 238a17d Copy full SHA for 238a17d
File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public class UIEffect2Editor : Editor
80
80
private SerializedProperty _gradationScale ;
81
81
private SerializedProperty _gradationRotation ;
82
82
83
- private bool _expandOthers ;
83
+ private bool _expandOthers = true ;
84
84
private SerializedProperty _allowToModifyMeshShape ;
85
85
86
86
private void OnEnable ( )
@@ -186,7 +186,6 @@ public void DrawProperties()
186
186
{
187
187
EditorGUI . indentLevel ++ ;
188
188
EditorGUILayout . PropertyField ( _samplingIntensity ) ;
189
- EditorGUILayout . PropertyField ( _samplingScale ) ;
190
189
EditorGUI . indentLevel -- ;
191
190
}
192
191
@@ -334,6 +333,7 @@ public void DrawProperties()
334
333
_expandOthers = EditorGUILayout . BeginFoldoutHeaderGroup ( _expandOthers , "Others" ) ;
335
334
if ( _expandOthers )
336
335
{
336
+ EditorGUILayout . PropertyField ( _samplingScale ) ;
337
337
EditorGUILayout . PropertyField ( _allowToModifyMeshShape ) ;
338
338
}
339
339
}
Original file line number Diff line number Diff line change @@ -919,7 +919,6 @@ public void LoadPreset(UIEffect preset)
919
919
920
920
m_SamplingFilter = preset . m_SamplingFilter ;
921
921
m_SamplingIntensity = preset . m_SamplingIntensity ;
922
- m_SamplingScale = preset . m_SamplingScale ;
923
922
924
923
m_TransitionFilter = preset . m_TransitionFilter ;
925
924
m_TransitionRate = preset . m_TransitionRate ;
You can’t perform that action at this time.
0 commit comments