Commit c0f5b0ed authored by Chae Ho Shin's avatar Chae Ho Shin

Fix #109

parent 72eea086
......@@ -76,8 +76,8 @@ public class UITownManager : MonoBehaviour
switch (_location)
{
case Location.Outskirts:
background.transform.GetChild(0).gameObject.SetActive(true);
background.transform.GetChild(1).gameObject.SetActive(false);
background.transform.GetChild(0).gameObject.SetActive(false);
background.transform.GetChild(1).gameObject.SetActive(true);
_location = Location.Town;
outskirts.gameObject.SetActive(false);
town.gameObject.SetActive(true);
......@@ -106,8 +106,8 @@ public class UITownManager : MonoBehaviour
{
case Location.Town:
background.transform.GetChild(0).gameObject.SetActive(false);
background.transform.GetChild(1).gameObject.SetActive(true);
background.transform.GetChild(0).gameObject.SetActive(true);
background.transform.GetChild(1).gameObject.SetActive(false);
_location = Location.Outskirts;
outskirts.gameObject.SetActive(true);
town.gameObject.SetActive(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment