PowerRename for Unity is Unity editor extension for renaming GameObjects in hierarchy.
You can flexible renaming by specifying the renaming convention in pipe format.
Append specified string as prefix.
| Value | Before | After |
|---|---|---|
go_ |
GameObject |
go_GameObject |
Append sequential number with digit as prefix.
| Digits | Start Index | Before | After |
|---|---|---|---|
3 |
1 |
GameObject |
001GameObject |
Append sequential number with digit as suffix.
| Digits | Start Index | Before | After |
|---|---|---|---|
3 |
1 |
GameObject |
GameObject001 |
Append specified string as suffix.
| Value | Before | After |
|---|---|---|
_go |
GameObject |
GameObject_go |
Remove leading spaces.
| Before | After |
|---|---|
GameObject |
GameObject |
Remove specified characters from prefix.
| Length | Before | After |
|---|---|---|
3 |
go_GameObject |
GameObject |
Remove specified characters from suffix.
| Length | Before | After |
|---|---|---|
3 |
GameObject_go |
GameObject |
Remove trailing spaces.
| Before | After |
|---|---|
GameObject |
GameObject |
Replace matched strings.
| Pattern | To | Before | After |
|---|---|---|---|
\(\d+\) |
(empty) |
GameObject (1) |
GameObject |
Replace matched strings.
| From | To | Before | After |
|---|---|---|---|
(1) |
(empty) |
GameObject (1) |
GameObject |
Convert to kebab-case
| Before | After |
|---|---|
GameObject |
game-object |
Convert to lowerCamelCase
| Before | After |
|---|---|
GameObject |
gameObject |
Convert to lowercase
| Before | After |
|---|---|
GameObject |
gameobject |
Convert to snake_case
| Before | After |
|---|---|
GameObject |
game_object |
Convert to Train-Case
| Before | After |
|---|---|
GameObject |
Game-Object |
Convert to lowercase
| Before | After |
|---|---|
gameObject |
GameObject |
Convert to UPPERCASE
| Before | After |
|---|---|
GameObject |
GAMEOBJECT |
Convert to UPPER_SNAKE_CASE
| Before | After |
|---|---|
GameObject |
GAME_OBJECT |
- Replace by Regular Expression (Pattern:
\(\d+\), To:(empty)) - Remove trailing space
- Append Suffix (Value:
_) - Append Sequential Number to Suffix (Digits:
3, Start Index:0)
| Before | After |
|---|---|
GameObject |
GameObject_000 |
GameObject (1) |
GameObject_001 |
GameObject (2) |
GameObject_002 |
If you want to add other rename conventions, create C# script into PowerRename directory and implement IRenameConvention interface.
Please use Animation Auto Assignment
MIT by @6jz