浏览代码

renamed variable

/4.1
Shan Jiang 4 年前
当前提交
7c8d0117
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 14
      Assets/Scripts/BasicLightEstimationUI.cs

14
Assets/Scripts/BasicLightEstimationUI.cs


void Awake()
{
m_LightEstimation = GetComponent<BasicLightEstimation>();
m_BasicLightEstimation = GetComponent<BasicLightEstimation>();
SetUIValue(m_LightEstimation.brightness, ambientIntensityText);
SetUIValue(m_BasicLightEstimation.brightness, ambientIntensityText);
if (m_LightEstimation.colorTemperature != null)
SetUIValue(m_LightEstimation.colorTemperature, ambientColorText);
else if (m_LightEstimation.colorCorrection != null)
SetUIValue(m_LightEstimation.colorCorrection, ambientColorText);
if (m_BasicLightEstimation.colorTemperature != null)
SetUIValue(m_BasicLightEstimation.colorTemperature, ambientColorText);
else if (m_BasicLightEstimation.colorCorrection != null)
SetUIValue(m_BasicLightEstimation.colorCorrection, ambientColorText);
else
SetUIValue<float>(null, ambientColorText);
}

text.text = displayValue.HasValue ? displayValue.Value.ToString(): "Unavailable";
}
BasicLightEstimation m_LightEstimation;
BasicLightEstimation m_BasicLightEstimation;
}
}
正在加载...
取消
保存