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

            newElement.Declare();
            newElement.CopyDrag(this);
            return(newElement);
        }
Example #2
0
        public override MenuElement DuplicateSelf()
        {
            MenuDrag newElement = CreateInstance <MenuDrag>();

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