View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2018.4.0 or later
- Package size
- 3.4 MB
- Files
- 81
- Favorites
- 1
- Views in the past week
- 11
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $7.99 on
Keywords
COPY-PASTE-RANGE Geek Inspector Addons
- Price drop
Copy and paste array/list element ranges in the Unity Inspector with Geek Clipboard support. Lock, resize, and reuse ranges to speed up Editor workflows. Full source included.
Lowest recorded price
Get 11% off on Asset Store (opens in new tab)Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 9
COPY-PASTE-RANGE Geek Inspector Addons screenshot 1
About this asset
COPY-PASTE-RANGE Geek Inspector Addons extends the Unity Editor with practical copy and paste commands for arrays and lists in the Unity Inspector. Instead of manually duplicating or re-entering values one by one, you can copy a selected range of array or list elements into the internal Geek Clipboard and paste it into another valid position.
The tool is designed for Inspector-based editing workflows where repeated list and array operations can become time-consuming. It works with element ranges, not just single entries, and supports both locked ranges and unlocked ranges based on the clicked item index.
4AI HOME | WEBSITE | DOC | SUPPORT
Main features:
- Copy a range of array or list elements and store it in the Geek Clipboard.
- Paste array or list elements from the Geek Clipboard into a compatible array or list.
- Set, resize, lock, and reuse element ranges.
- Copy a locked range or an unlocked range calculated from the clicked element index.
- Copy a single clicked array or list item.
- Use commands directly from the 4AI Geek Context Menu appended to Unity's standard Inspector context menu.
As with other Geek Utilities, this copy-paste utility is built to improve productivity and reduce repetitive Inspector work. The package extends the Unity Editor and includes full source code.
How to use it
Open the 4AI Geek Context Menu by right-clicking an array or list element name in the Unity Inspector. In some Unity versions, you can also right-click the array or list name itself; in that case, the clicked element index is treated as zero.
The 4AI Geek Context Menu is appended to the standard Unity context menu for array and list properties. From there, you can use COPY, PASTE, and RANGE commands to copy, paste, lock, set, and resize element ranges.
Demo and testing
You can test the package with the free Geek Addons Demo scene available on the Unity Asset Store. For additional testing, use the included ExampleArrays.cs and ExampleLists.cs MonoBehaviour scripts. Attach them to GameObjects, define array or list data, and right-click array or list element names to open the context menu with appended 4AI Geek commands.
Included addon families
This Geek Inspector Addons bundle includes three command families:
- COPY commands
- PASTE commands
- RANGE commands
The bundle includes necessary Geek Inspector Addons Core files and contains addons planned as separate Geek Inspector Addons, including:
- COPY Array / List range - Geek Inspector Addon
- PASTE Array / List elements - Geek Inspector Addon
- SET Array / List RANGE to N - Geek Inspector Addon
- RESIZE Array / List RANGE by N - Geek Inspector Addon
- SET Array / List RANGE <START, END> and LOCK - Geek Inspector Addon
Other released 4AI Geek Addons include Geek Tools, List & Array Toolbox, Editor List & Array Toolkit, Inspector List & Array Toolkit, SELECT-RANGE-LOCK Geek Inspector Addons, CUT-INSERT-RANGE Geek Inspector Addons, and MOVE-RANGE-LOCK Geek Inspector Addons. Visit the 4AI publisher page for the full list of productivity extensions.
From the publisher's Asset Store listing.
Technical details
Command overview
COPY commands:
- COPY range
- COPY range LOCKED - available when the range is locked
- COPY and LOCK range and SET (range) END
- COPY ONE item
PASTE commands:
- PASTE - available 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
Definitions
- clickedINDEX - clicked array or list item index.
- START - current fixed or locked range start.
- END - current fixed or locked range end.
- R - current range size. In the locked state, it equals END - START + 1. In the unlocked state, it equals b - a + 1.
- <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 and updated if element positions change.
- Fixed range - a range that was usually locked earlier and unlocked later.
- Geek Clipboard - the internal Geek Inspector Addons clipboard.
Single commands
SET range START and LOCK sets the array or list range start to clickedINDEX, so the final range is <clickedINDEX, END>, and locks the range.
SET range END and LOCK sets the array or list range end to clickedINDEX, so the final range is <START, clickedINDEX>, and locks the range.
COPY range copies <clickedINDEX, clickedINDEX + R - 1> to the Geek Clipboard. The final range and range end must fit in the array or list.
COPY range LOCKED copies the locked range <START, END> to the Geek Clipboard. The final range and range end must fit in the array or list. This command is available when the range is locked.
COPY and LOCK range and SET (range) END copies <clickedINDEX, clickedINDEX + R - 1> to the Geek Clipboard, locks it, and sets the range end to clickedINDEX. The final range and range end must fit in the array or list.
COPY ONE item copies one clicked item to the Geek Clipboard. The element index must fit in the array or list.
PASTE pastes Geek Clipboard contents at clickedINDEX. Pasted values overwrite existing values. The whole pasted content and last item must fit in the array or list.
PASTE and LOCK range pastes Geek Clipboard contents at clickedINDEX, overwrites existing values, and locks the pasted range. The whole pasted content and last item must fit in the array or list.
Submenu commands
SET RANGE to R sets the range to <clickedINDEX, clickedINDEX + R - 1>, where R is selected from a submenu.
SET RANGE to R LOCKED sets the locked range to <START, START + R - 1>, where R is selected from a submenu, then updates the locked range. This command is available when the range is locked.
RESIZE RANGE by R resizes <clickedINDEX, clickedINDEX + currentR - 1> by R, so the final range is <clickedINDEX, clickedINDEX + currentR + R - 1>. R is selected from a submenu.
RESIZE RANGE by R LOCKED resizes <START, END> by R, so the final range is <START, END + R>, then updates the locked range. This command is available when the range is locked.
Supported SerializedProperty types
Copy and paste commands support the following SerializedPropertyType values:
- ObjectReference
- Integer
- Float
- Boolean
- String
- Vector2
- Vector2Int
- Vector3
- Vector3Int
- Vector4
- Quaternion
- Bounds
- BoundsInt
- Rect
- RectInt
- Enum
- Color
- Character
- LayerMask
- AnimationCurve
- Generic
- ArraySize - supported when copying generic types
- ExposedReference - supported in code, but not tested
The following types are not supported by copy and paste operations:
- FixedBufferSize
- Gradient
Supported paste conversions
The plugin performs many reasonable conversions when pasting copied values, including:
- float to int or long
- double to int or long
- int to float or double
- long to float or double
- Vector2Int to Vector2
- Vector2 to Vector2Int
- Vector3Int to Vector3
- Vector3 to Vector3Int
- Vector4 to Quaternion
- Quaternion to Vector4
- BoundsInt to Bounds
- Bounds to BoundsInt
- RectInt to Rect
- Rect to RectInt
- Many supported types to String
Limitations and notes
- This version does not support copy and paste operations for array and list ranges between Unity projects.
- Cross-project copy and paste may be possible through a future extension or a PRO version.
- Planned framework extensions may include Geek Context Menu style configuration and Geek Context Menu item visibility or priority settings.
- Check the Unity Asset Store and publisher pages for addon availability, demo assets, documentation, support, forums, and future releases.
Related links and pages
- COPY-PASTE-RANGE on the Unity Asset Store
- COPY-PASTE-RANGE documentation
- Free Demo Scene - Geek Addons Demo
- Geek Addons framework
- Geek Inspector Addons overview
- 4AI Unity Assets
- 4AI publisher page on the Unity Asset Store
- Support
Related Geek Addons