示例#1
0
        public override MenuElement DuplicateSelf(bool fromEditor, bool ignoreUnityUI)
        {
            MenuJournal newElement = CreateInstance <MenuJournal>();

            newElement.Declare();
            newElement.CopyJournal(this, fromEditor, ignoreUnityUI);
            return(newElement);
        }
示例#2
0
        /**
         * <summary>Creates and returns a new MenuJournal that has the same values as itself.</summary>
         * <returns>A new MenuJournal with the same values as itself</returns>
         */
        public override MenuElement DuplicateSelf()
        {
            MenuJournal newElement = CreateInstance <MenuJournal>();

            newElement.Declare();
            newElement.CopyJournal(this);
            return(newElement);
        }