You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
619 B
26 lines
619 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Building_Con : MonoBehaviour
|
|
{
|
|
public GameObject[] roadMaps;
|
|
public GameObject[] panels;
|
|
public GameObject onMap;
|
|
public void Click_StartButton()
|
|
{
|
|
onMap.SetActive(true);
|
|
panels[0].SetActive(false);
|
|
panels[1].SetActive(true);
|
|
}
|
|
public void Click_RightButton()
|
|
{
|
|
roadMaps[1].SetActive(true);
|
|
roadMaps[0].SetActive(false);
|
|
}
|
|
public void Click_LeftButton()
|
|
{
|
|
roadMaps[1].SetActive(false);
|
|
roadMaps[0].SetActive(true);
|
|
}
|
|
}
|