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

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

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