Esempio n. 1
0
        public void ShowReplayScrollPopup(IOkStringCancelCallback callback, String popupType, String header, String description, List<ConfigOption> configOptions)
        {
            this.ShowPopup(PopupType.REPLAY_SCROLL);

            this.popupType = popupType;
            this.optionScroll = Vector2.zero;

            this.okStringCallback = callback;
            this.cancelCallback = callback;

            this.configOptions = configOptions;

            this.header = header;
            this.description = description;
            this.cancelText = "Done";
            this.okText = "Play";
        }
Esempio n. 2
0
        public void ShowMultiScrollPopup(IOkStringCancelCallback callback, String popupType, String header, String description, List<ConfigOption> configOptions)
        {
            this.ShowPopup(PopupType.MULTI_SCROLL);

            this.popupType = popupType;
            this.optionScroll = Vector2.zero;

            this.okStringCallback = callback;
            this.cancelCallback = callback;

            this.configOptions = configOptions;

            this.header = header;
            this.description = description;
            this.cancelText = "Done";
            this.okText = popupType.Equals("main") ? null : "Back";
        }