Ejemplo n.º 1
0
        public override MenuElement DuplicateSelf(bool fromEditor, bool ignoreUnityUI)
        {
            MenuInput newElement = CreateInstance <MenuInput>();

            newElement.Declare();
            newElement.CopyInput(this, ignoreUnityUI);
            return(newElement);
        }
Ejemplo n.º 2
0
        public override MenuElement DuplicateSelf()
        {
            MenuInput newElement = CreateInstance <MenuInput>();

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