public void Awake() { if (Instance == null) { Instance = this; _endPoints.Add("eu", "http://52.68.156.199:8080"); _endPoints.Add("us", "http://34.195.3.253:8080"); _inputViewController = GetComponent <InputViewController>(); _inputViewController.SwitchEndPoint(); DontDestroyOnLoad(this); } else { if (this != Instance) { Destroy(this); } } }
void Start() { _inputViewController = GetComponent <InputViewController>(); ResolutionPolicy = ""; Hide(); }