Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

COPY-PASTE-RANGE Geek Inspector Addons [RELEASED]

Discussion in 'Assets and Asset Store' started by 3dmars, Feb 27, 2021.

  1. 3dmars

    3dmars

    Joined:
    Jan 3, 2016
    Posts:
    52
    This asset is a bundle of productivity editor extensions called Geek Inspector Addons. It extends the Unity Editor and enables:
    • copying an array or list element range and placing copied elements in the Geek Clipboard,
    • pasting array or list elements available in the Geek Clipboard into an array or list,
    • setting and resizing the array or list element range,
    • copying either a locked element range or unlocked range (based on a clicked index).
    This Geek Inspector Addons bundle includes three families of commands called: “COPY”, “PASTE”, RANGE” commands. You can access them in the 4AI Geek Context Menu appended to a standard Unity context menu related to array and list properties.

    Below you can find a video describing how you can use this asset:


    BUNDLE COMMANDS
    COPY commands
    • COPY range
    • COPY range LOCKED (appears when the range is locked)​
    • COPY and LOCK range and SET (range) END
    • COPY ONE item
    PASTE commands
    • PASTE (appears when the range is unlocked)
    • PASTE and LOCK range
    RANGE commands
    • SET RANGE to R (submenus)​
    • SET RANGE to R LOCKED (submenus)​
    • RESIZE RANGE by R (submenus)​
    • RESIZE RANGE by R LOCKED (submenus)​
    • SET range START and LOCK
    • SET range END and LOCK
    GEEK CONTEXT MENU ITEMS


    copy-paste-range-menu-cropped-c64.gif
    After the installation of "COPY-PASTE-RANGE Geek Inspector Addons" new menu items will be appended to the standard Unity context menu related to array and list properties. Submenus are not visible in the above image. Below you can see example submenus:

    copy-paste-range-4.png

    copy-paste-range-17.png copy-paste-range-41.png

    >>> GET IT IN THE ASSET STORE <<<

    ADDON DESCRIPTIONS
    Below you can find descriptions of the current Geek Inspector Context Menu addons.

    Common terms and identifiers simplifying the descriptions
    • clickedINDEX – clicked array or list item index,
    • START – current fixed range start,
    • END – current fixed range end,
    • R – current range size (equal to: END-START+1 in the LOCKED state or b-a+1 in the UNLOCKED state),
    • <a, b> – a range where a = clickedINDEX and (b – a + 1) = R
    • <START, END>, LOCKED range – a range locked to specific array or list elements that is modified if the position of elements change,
    • FIXED range – a range that was usually LOCKED earlier and UNLOCKED later,
    • GEEK CLIPBOARD – internal Geek Inspector Addons clipboard.
    SINGLE COMMANDS
    SET range START and LOCK
    SET the array or list range START to clickedINDEX so that the final range is <clickedINDEX, END> and is LOCKED. See the LOCK range command for more information.

    SET range END and LOCK
    SET the array or list range END to clickedINDEX so that the final range is <START, clickedINDEX> and is LOCKED. See the LOCK range command for more information.

    COPY range
    COPY the range <clickedINDEX, clickedINDEX+R-1> to the GEEK CLIPBOARD.

    COPY range LOCKED
    COPY the LOCKED range <START, END> to the GEEK CLIPBOARD.

    The related context menu item is available when the range is LOCKED.

    COPY and LOCK range and SET (range) END
    COPY the range <START, clickedINDEX> to the GEEK CLIPBOARD and LOCK it. Set the range END to clickedINDEX.

    COPY ONE item
    COPY ONE clicked item to the GEEK CLIPBOARD.

    PASTE
    PASTE the GEEK CLIPBOARD contents at the clickedINDEX. The pasted values will override the old ones. The whole content and the last item must fit in the array or list.

    The related context menu item is available when the range is UNLOCKED.

    PASTE and LOCK range
    PASTE the GEEK CLIPBOARD contents at the clickedINDEX. The pasted values will override the old ones. Next, LOCK the pasted range. The whole content and the last item must fit in the array or list.

    The related context menu item is available when the range is UNLOCKED.

    SUBMENUS
    SET RANGE to R (submenus)
    SET range to <clickedINDEX, clickedINDEX+R-1> so that the range size equals R. R is chosen by one of the command submenu items.

    SET RANGE to R LOCKED (submenus)
    SET range to <START, START+R-1> so that the range size equals R. R is chosen by one of the command submenu items. Next, update the LOCKED range. The related context menu item is available when the range is LOCKED. See the LOCK range command for more information.

    RESIZE RANGE by R (submenus)
    RESIZE the range <clickedINDEX, clickedINDEX+currentR-1> by R, so that the final range is <clickedINDEX, clickedINDEX+currentR+R-1>, where currentR is the range size before the operation. R is chosen by one of the command submenu items.

    RESIZE RANGE by R LOCKED (submenus)
    RESIZE the range <START, END> by R, so that the final range is <START, END+R>, where currentR is the range size before the operation. R is chosen by one of the command submenu items. Next, update the LOCKED range. The related context menu item is available when the range is LOCKED. See the LOCK range command for more information.
    You can find more details in the Unity Asset Store and on the plugin website at https://4ai.io/copy-paste-range-geek-inspector-addons/.

    If you are interested in other addons, you can find more information on all current and planned Geek Inspector Addons at https://4ai.io/geek-inspector-addons/ .​
     
    Last edited: Mar 6, 2021