浏览代码

Use expression bodied members

/4.0
Tim Mowrer 5 年前
当前提交
d7b20fbf
共有 1 个文件被更改,包括 10 次插入10 次删除
  1. 20
      Assets/Scripts/TestCameraImage.cs

20
Assets/Scripts/TestCameraImage.cs


/// </summary>
public ARCameraManager cameraManager
{
get { return m_CameraManager; }
set { m_CameraManager = value; }
get => m_CameraManager;
set => m_CameraManager = value;
}
[SerializeField]

/// </summary>
public RawImage rawCameraImage
{
get { return m_RawCameraImage; }
set { m_RawCameraImage = value; }
get => m_RawCameraImage;
set => m_RawCameraImage = value;
}
[SerializeField]

/// </summary>
public RawImage rawHumanDepthImage
{
get { return m_RawHumanDepthImage; }
set { m_RawHumanDepthImage = value; }
get => m_RawHumanDepthImage;
set => m_RawHumanDepthImage = value;
}
[SerializeField]

/// </summary>
public RawImage rawHumanStencilImage
{
get { return m_RawHumanStencilImage; }
set { m_RawHumanStencilImage = value; }
get => m_RawHumanStencilImage;
set => m_RawHumanStencilImage = value;
}
[SerializeField]

/// </summary>
public Text imageInfo
{
get { return m_ImageInfo; }
set { m_ImageInfo = value; }
get => m_ImageInfo;
set => m_ImageInfo = value;
}
void OnEnable()

正在加载...
取消
保存