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

            newElement.Declare();
            newElement.CopyLabel(this, ignoreUnityUI);
            return(newElement);
        }
Example #2
0
        public override MenuElement DuplicateSelf()
        {
            MenuLabel newElement = CreateInstance <MenuLabel>();

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