예제 #1
0
        private void CopyDialogList(MenuDialogList _element, bool ignoreUnityUI)
        {
            if (ignoreUnityUI)
            {
                uiSlots = null;
            }
            else
            {
                uiSlots = _element.uiSlots;
            }

            textEffects                        = _element.textEffects;
            outlineSize                        = _element.outlineSize;
            displayType                        = _element.displayType;
            testIcon                           = _element.testIcon;
            anchor                             = _element.anchor;
            labels                             = _element.labels;
            fixedOption                        = _element.fixedOption;
            optionToShow                       = _element.optionToShow;
            maxSlots                           = _element.maxSlots;
            markAlreadyChosen                  = _element.markAlreadyChosen;
            alreadyChosenFontColour            = _element.alreadyChosenFontColour;
            alreadyChosenFontHighlightedColour = _element.alreadyChosenFontHighlightedColour;
            showIndexNumbers                   = _element.showIndexNumbers;
            uiHideStyle                        = _element.uiHideStyle;
            linkUIGraphic                      = _element.linkUIGraphic;
            resetOffsetWhenRestart             = _element.resetOffsetWhenRestart;

            base.Copy(_element);
        }
예제 #2
0
        /**
         * <summary>Creates and returns a new MenuCrafting that has the same values as itself.</summary>
         * <param name = "fromEditor">If True, the duplication was done within the Menu Manager and not as part of the gameplay initialisation.</param>
         * <returns>A new MenuCrafting with the same values as itself</returns>
         */
        public override MenuElement DuplicateSelf(bool fromEditor)
        {
            MenuDialogList newElement = CreateInstance <MenuDialogList>();

            newElement.Declare();
            newElement.CopyDialogList(this);
            return(newElement);
        }
예제 #3
0
		public void CopyDialogList (MenuDialogList _element)
		{
			textEffects = _element.textEffects;
			displayType = _element.displayType;
			testIcon = _element.testIcon;
			anchor = _element.anchor;
			labels = _element.labels;
			fixedOption = _element.fixedOption;
			optionToShow = _element.optionToShow;
			maxSlots = _element.maxSlots;
			
			base.Copy (_element);
		}
예제 #4
0
        public void CopyDialogList(MenuDialogList _element)
        {
            uiSlots = _element.uiSlots;

            textEffects  = _element.textEffects;
            displayType  = _element.displayType;
            testIcon     = _element.testIcon;
            anchor       = _element.anchor;
            labels       = _element.labels;
            fixedOption  = _element.fixedOption;
            optionToShow = _element.optionToShow;
            maxSlots     = _element.maxSlots;

            base.Copy(_element);
        }
예제 #5
0
        private void CopyDialogList(MenuDialogList _element)
        {
            uiSlots = _element.uiSlots;

            textEffects             = _element.textEffects;
            displayType             = _element.displayType;
            testIcon                = _element.testIcon;
            anchor                  = _element.anchor;
            labels                  = _element.labels;
            fixedOption             = _element.fixedOption;
            optionToShow            = _element.optionToShow;
            maxSlots                = _element.maxSlots;
            markAlreadyChosen       = _element.markAlreadyChosen;
            alreadyChosenFontColour = _element.alreadyChosenFontColour;

            base.Copy(_element);
        }
예제 #6
0
        private void CopyDialogList(MenuDialogList _element)
        {
            uiSlots = _element.uiSlots;

            textEffects             = _element.textEffects;
            outlineSize             = _element.outlineSize;
            displayType             = _element.displayType;
            testIcon                = _element.testIcon;
            anchor                  = _element.anchor;
            labels                  = _element.labels;
            fixedOption             = _element.fixedOption;
            optionToShow            = _element.optionToShow;
            maxSlots                = _element.maxSlots;
            markAlreadyChosen       = _element.markAlreadyChosen;
            alreadyChosenFontColour = _element.alreadyChosenFontColour;
            showIndexNumbers        = _element.showIndexNumbers;
            uiHideStyle             = _element.uiHideStyle;

            base.Copy(_element);
        }
        private void CopyDialogList(MenuDialogList _element)
        {
            uiSlots = _element.uiSlots;

            textEffects = _element.textEffects;
            displayType = _element.displayType;
            testIcon = _element.testIcon;
            anchor = _element.anchor;
            labels = _element.labels;
            fixedOption = _element.fixedOption;
            optionToShow = _element.optionToShow;
            maxSlots = _element.maxSlots;
            markAlreadyChosen = _element.markAlreadyChosen;
            alreadyChosenFontColour = _element.alreadyChosenFontColour;

            base.Copy (_element);
        }