using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ModeController : MonoBehaviour { //public enum Mode { Player, Editor}; //public Mode mode = Mode.Player; public GameObject Player; public GameObject Locations; public GameObject Editor; public GameObject EditorTools; public GameObject Plane; public GameObject Grid; public GameObject LineX; public GameObject LineY; public GameObject Markers; public GameObject Beacons; public GameObject Walls; Transform maps; public static bool editor = false; Button button; Dropdown.OptionData item; // Start is called before the first frame update void Start() { button = gameObject.GetComponent