Menu.cs 324 B

1234567891011121314151617181920
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class Menu : MonoBehaviour
  5. {
  6. public GameObject map_3D;
  7. public GameObject switchRoute;
  8. public void OpenSwitchRoute( bool state)
  9. {
  10. map_3D.SetActive(state);
  11. switchRoute.SetActive(state);
  12. }
  13. }