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.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 | SUPPORTMain 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 itOpen 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 testingYou 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 familiesThis Geek Inspector Addons bundle includes three command families:COPY commandsPASTE commandsRANGE commandsThe bundle includes necessary Geek Inspector Addons Core files and contains addons planned as separate Geek Inspector Addons, including:COPY Array / List range - Geek Inspector AddonPASTE Array / List elements - Geek Inspector AddonSET Array / List RANGE to N - Geek Inspector AddonRESIZE Array / List RANGE by N - Geek Inspector AddonSET Array / List RANGE and LOCK - Geek Inspector AddonOther 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.4AI HOME | WEBSITE | DOC | SUPPORTCommand overviewCOPY commands:COPY rangeCOPY range LOCKED - available when the range is lockedCOPY and LOCK range and SET (range) ENDCOPY ONE itemPASTE commands:PASTE - available when the range is unlockedPASTE and LOCK rangeRANGE commands:SET RANGE to R submenusSET RANGE to R LOCKED submenusRESIZE RANGE by R submenusRESIZE RANGE by R LOCKED submenusSET range START and LOCKSET range END and LOCKDefinitionsclickedINDEX - 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 commandsSET 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 commandsSET 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 typesCopy and paste commands support the following SerializedPropertyType values:ObjectReferenceIntegerFloatBooleanStringVector2Vector2IntVector3Vector3IntVector4QuaternionBoundsBoundsIntRectRectIntEnumColorCharacterLayerMaskAnimationCurveGenericArraySize - supported when copying generic typesExposedReference - supported in code, but not testedThe following types are not supported by copy and paste operations:FixedBufferSizeGradientSupported paste conversionsThe plugin performs many reasonable conversions when pasting copied values, including:float to int or longdouble to int or longint to float or doublelong to float or doubleVector2Int to Vector2Vector2 to Vector2IntVector3Int to Vector3Vector3 to Vector3IntVector4 to QuaternionQuaternion to Vector4BoundsInt to BoundsBounds to BoundsIntRectInt to RectRect to RectIntMany supported types to StringLimitations and notesThis 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 pagesCOPY-PASTE-RANGE on the Unity Asset StoreCOPY-PASTE-RANGE documentationFree Demo Scene - Geek Addons DemoGeek Addons frameworkGeek Inspector Addons overview4AI Unity Assets4AI publisher page on the Unity Asset StoreSupportRelated Geek AddonsGeek Tools - 4AI pageList & Array Toolbox - 4AI pageEditor List & Array Toolkit - 4AI pageInspector List & Array Toolkit - 4AI pageMOVE-RANGE-LOCK Geek Inspector Addons - 4AI pageSELECT-RANGE-LOCK Geek Inspector Addons - 4AI pageCUT-INSERT-RANGE Geek Inspector Addons - 4AI page4AI HOME | WEBSITE | DOC | SUPPORT


