Ejemplo n.º 1
0
 void ShowSubtypes()
 {
     if (selectedDimension == 2 || selectedDimension == 3)
     {
         if (noiseType23 == NoiseType2D3D.Cell)
         {
             noiseSubtypeCell = (NoiseSubtypeCell)EditorGUILayout.EnumPopup("Subtype: ", noiseSubtypeCell);
         }
         else
         {
             noiseSubtype2D3D = (NoiseSubtype2D3D)EditorGUILayout.EnumPopup("Subtype: ", noiseSubtype2D3D);
         }
     }
     else if (selectedDimension == 4)
     {
         noiseSubtype4D = (NoiseSubtype4D)EditorGUILayout.EnumPopup("Subtype: ", noiseSubtype4D);
     }
 }
Ejemplo n.º 2
0
 void ShowSubtypes()
 {
     if (selectedDimension == 2 || selectedDimension == 3)
     {
         if (noiseType23 == NoiseType2D3D.Cell)
         {
             noiseSubtypeCell = (NoiseSubtypeCell)EditorGUILayout.EnumPopup("Subtype: ", noiseSubtypeCell);
         }
         else
         {
             noiseSubtype2D3D = (NoiseSubtype2D3D)EditorGUILayout.EnumPopup("Subtype: ", noiseSubtype2D3D);
         }
     }
     else if (selectedDimension == 4)
     {
         noiseSubtype4D = (NoiseSubtype4D)EditorGUILayout.EnumPopup("Subtype: ", noiseSubtype4D);
     }
 }