Example #1
0
    void Start()
    {
        var screenList = GetComponent <ScreenList>();

        screenList.InstantiateAndRegisterScreens(uiFrame); // do NOT do this in Awake (or disable Initialize On Awake in uiFrame and Initialize yourself)

        uiFrame.OpenWindow(ScreenList.loadingWindow);
    }
Example #2
0
    private void OnAsteroidClick(DataViewer data)
    {
        var payload = new AstDataProperty(data);
        var strtest = payload._data.Name.text;

        uiFrame.OpenWindow("AstDataWindow", payload);
        astDataCheck = data.Name.text;
    }
 private void Start()
 {
     uiFrame.OpenWindow(ScreenIds.StartGameWindow);
 }
Example #4
0
 private void Start()
 {
     uiFrame.OpenWindow(ScreenUtils.IsLandscape ? ScreenIds.TapToPlayWindow : ScreenIds.TapToPlayWindowV);
 }