Unity3D Extension - Replace GameObjects and prefabs with another prefab

Unity3D Extension - Replace GameObjects and prefabs with another prefab

Jason Weimann

6 лет назад

47,130 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

sillybilly2454
sillybilly2454 - 26.08.2023 14:04

You saved me bro i made a whole cave out of the wrong type of prefab and with this i was able to easily just change it

Ответить
bblakeyyy
bblakeyyy - 09.08.2023 04:59

There's really a script for everything these days! Thanks so much for this, legend💪

Ответить
Susanna Bean
Susanna Bean - 01.07.2023 06:52

Using the tilemap for placing 3d tiles and this has been a massive help. I have no idea why they removed the prefab brush in place of the gameobject brush (which turns placed prefabs into unpacked gameobjects) and was seriously considering having to just write my own tilemap system but this tool gives me a very nice compromise. From what i can tell, this still works perfectly fine in 2023. Thank you for this.

Ответить
brahim lancas
brahim lancas - 03.02.2023 18:57

do i need script to close unity too 🤦‍♂🤦‍♂ omg just to replace u need script get out of here pls

Ответить
Natan G
Natan G - 28.01.2023 17:07

Thank you very much, your tool helped me a lot🙏

Ответить
Andree Montenegro - Art
Andree Montenegro - Art - 30.11.2022 21:06

Hi everyone, I'm trying to use this script in Unity 2021.3.12f, but there is an error:
Warning CS0618 'PrefabUtility.GetPrefabType(Object)' is obsolete: 'Use GetPrefabAssetType and GetPrefabInstanceStatus to get the full picture about Prefab types.
Do you have any solution?
I'm 3D Artist :P

Thank you very much for the script, Jason, years ago it helped me a lot.

Ответить
Ed Halley
Ed Halley - 19.11.2022 20:09

If you get a CS0618 Obsolete error, replace the whole line 'if (prefabType == PrefabType.Prefab)' with 'if (PrefabUtility.IsPartOfPrefabAsset(prefab))' without the quotes.

Ответить
Raiijuu Uzumaki
Raiijuu Uzumaki - 19.10.2022 17:43

Awsome tool! but what if i dont want to replace gameobjects with the click of a button but instead with time or if the object takes dmg ? for example i have a tree and after it takes fire dmg i want to replace it with a dead tree ? how would you do that ?

Ответить
Eduardo Magtalas
Eduardo Magtalas - 12.10.2022 03:55

Thank you! This saved me!

Ответить
Kingstantin
Kingstantin - 06.10.2022 22:23

Yaeh, just yeah! You saved me hours of boring tasks!

Ответить
Chimz
Chimz - 25.09.2022 03:25

A GOD SEND! THANK YOU!

Ответить
LunarEx Games
LunarEx Games - 05.09.2022 07:10

This saved me a ton of time! Thank you... you ROCK!

Ответить
Purge_Bot
Purge_Bot - 03.08.2022 23:50

Thank you so much!!!

Ответить
Forest White
Forest White - 21.07.2022 02:24

Awesome tool Jason! Thank you sir.

Ответить
Max Mustermann
Max Mustermann - 14.07.2022 18:35

Thank you very much. This was just what I needed.

Ответить
Don_Elf
Don_Elf - 01.07.2022 14:48

Bro actually just saved me tysm 🙏

Ответить
Faztz
Faztz - 30.05.2022 04:58

blessed

Ответить
eliorubenmc
eliorubenmc - 21.05.2022 01:14

Just Awesome! I made levels with a lot of duplicates and then I thought "this should be a prefab" so this is great to save time!

Ответить
Antonio Leandro Furstenberger Favero
Antonio Leandro Furstenberger Favero - 29.03.2022 19:41

This safe a lot of my time. Thanks a lot!

Ответить