// Start is called before the first frame update void Start() { popupAreaTrigger.onTriggerEnter2D = Popup; popupAreaTrigger.onTriggerExit2D = DeactivePopup; switchSceneAreaTrigger.onTriggerEnter2D = SwitchScene; uiFieldPopup = UIFieldPopup.SecureUI(transform); uiFieldPopup.SetText(enterMapScene); uiFieldPopup.DispSlider(false); }
private void Start() { uiFieldPopup = UIFieldPopup.SecureUI(transform); }