Пример #1
0
        public override MenuElement DuplicateSelf(bool fromEditor, bool ignoreUnityUI)
        {
            MenuCycle newElement = CreateInstance <MenuCycle>();

            newElement.Declare();
            newElement.CopyCycle(this, ignoreUnityUI);
            return(newElement);
        }
Пример #2
0
        public override MenuElement DuplicateSelf()
        {
            MenuCycle newElement = CreateInstance <MenuCycle>();

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