浏览代码

Fixed compilation for .Net 4.0

/main
Tristan Genevet 6 年前
当前提交
13607475
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 6
      com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/DensityVolumeTextureTool.cs

6
com.unity.render-pipelines.high-definition/HDRP/Editor/Lighting/Volumetric/DensityVolumeTextureTool.cs


void OnGUI()
{
EditorGUILayout.LabelField(textureLabel, null);
EditorGUILayout.LabelField(textureLabel);
tileSize = EditorGUILayout.IntField(tileSizeLabel, tileSize, null);
tileSize = EditorGUILayout.IntField(tileSizeLabel, tileSize);
bool validData = (sourceTexture != null && IsTileSizeValid());
bool create = false;

using (new EditorGUI.DisabledScope(!validData))
{
create = GUILayout.Button(createLabel, null);
create = GUILayout.Button(createLabel);
}
if (create)

正在加载...
取消
保存