|
|
|
|
|
|
set { m_HumanSegmentationMenu = value; } |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[SerializeField] |
|
|
|
GameObject m_LightEstimationMenu; |
|
|
|
public GameObject lightEstimationMenu |
|
|
|
{ |
|
|
|
get { return m_LightEstimationMenu; } |
|
|
|
set { m_LightEstimationMenu = value; } |
|
|
|
} |
|
|
|
|
|
|
|
[SerializeField] |
|
|
|
GameObject m_PlaneDetectionMenu; |
|
|
|
public GameObject planeDetectionMenu |
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Start() |
|
|
|
{ |
|
|
|
|
|
|
else if(ActiveMenu.currentMenu == MenuType.HumanSegmentation) |
|
|
|
{ |
|
|
|
m_HumanSegmentationMenu.SetActive(true); |
|
|
|
m_AllMenu.SetActive(false); |
|
|
|
} |
|
|
|
else if(ActiveMenu.currentMenu == MenuType.LightEstimation) |
|
|
|
{ |
|
|
|
m_LightEstimationMenu.SetActive(true); |
|
|
|
m_AllMenu.SetActive(false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
SceneManager.LoadScene("HumanSegmentationImages", LoadSceneMode.Single); |
|
|
|
} |
|
|
|
|
|
|
|
public void LightEstimationMenuButtonPressed() |
|
|
|
{ |
|
|
|
ActiveMenu.currentMenu = MenuType.LightEstimation; |
|
|
|
m_LightEstimationMenu.SetActive(true); |
|
|
|
m_AllMenu.SetActive(false); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void LightEstimationButtonPressed() |
|
|
|
{ |
|
|
|
SceneManager.LoadScene("LightEstimation", LoadSceneMode.Single); |
|
|
|
|
|
|
m_FaceTrackingMenu.SetActive(false); |
|
|
|
m_PlaneDetectionMenu.SetActive(false); |
|
|
|
m_HumanSegmentationMenu.SetActive(false); |
|
|
|
m_LightEstimationMenu.SetActive(false); |
|
|
|
m_AllMenu.SetActive(true); |
|
|
|
} |
|
|
|
} |