Beispiel #1
0
 // 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);
 }
Beispiel #2
0
 private void Start()
 {
     uiFieldPopup = UIFieldPopup.SecureUI(transform);
 }