Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Generators placing referenced prefabs
#1
Hello,

I know the generator creates instantiated prefabs but is there any way to configure Curvy to place properly referenced prefabs via the generator?

Cheers! Big Grin
Reply
#2
Hi,
What is the difference between instantiated prefabs and properly referenced prefabs?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
(06-21-2019, 09:18 AM)_Aka_ Wrote: Hi,
What is the difference between instantiated prefabs and properly referenced prefabs?

The biggest difference is that if the prefab link is valid then changes made to the prefab will instantly propagate to all the linked prefabs.

You can tell a prefab is linked properly if the icon in the hierarchy is blue.
   

Player is a properly linked prefab, Game Manager is not.
Reply
#4
Now I understand you.
Unfortunately the Create GameObject module does not conserve the link with a prefab.
If this is easily implementable, I would send you a modified Curvy version with the modification in the upcoming days. If not, I will add the feature to the backlog, and implement it properly in an upcoming version. What version of Unity do you use?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#5
(06-21-2019, 01:46 PM)_Aka_ Wrote: Now I understand you.
Unfortunately the Create GameObject module does not conserve the link with a prefab.
If this is easily implementable, I would send you a modified Curvy version with the modification in the upcoming days. If not, I will add the feature to the backlog, and implement it properly in an upcoming version. What version of Unity do you use?

Hello!

I am presently using Unity 2018.3.6f1 (64-bit)
That would be really amazing if there was a Create LinkedPrefab from prefabs feature!

I really use the link with the Prefab because after I use Curvy for initially placing objects such a trees, I occasionally need to hand-tune the locations of objects so I copy everything form the Create GameObject folder and paste them into a new empty then do my editing from there.

Kind regards,
Horibe
Reply
#6
Hi,
Sorry for the delay. I couldn't work on this this week. I will work on it next week. Will keep you updated
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#7
I made a modified version of the code that keeps the link with the prefab. I will PM it to you (the forum being public, I will not post parts of Curvy's source code here). Please keep in mind that the code I will send you is a quick fix made specifically for your usage. This means that it is not compatible with the old Unity's prefab system for example. The fix will be released in an update once it was made compatible with all Curvy users' needs and intensively tested.
Thanks for your patience and have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#8
   

It works great for all the cases I've used it in.

Thank you so much!!! This is a great fix!
Reply
#9
You are welcome Smile
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Placing objects on volume Anthonyk 3 747 12-31-2018, 02:48 PM
Last Post: Anthonyk
  Setup Generators in code Leks1NL 2 1,762 07-29-2017, 05:52 AM
Last Post: Jake
  Placing objects equally apart - Volume Spot kypopete 4 2,785 02-07-2017, 12:06 PM
Last Post: Gazoid
  CG CreateGameObject and Prefabs LoftyTheMetroid 2 2,048 01-17-2017, 03:50 PM
Last Post: LoftyTheMetroid

Forum Jump: