Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Instantiating prefab
#1
hi can you share working code how to make instantiated prefab work. Did search on forum, tried to call Awake, OnEnable, Start.

Weirdly it work if I manually remove curvy spline in editor and reassign by hand but not from code.

Thanks in advance.
Reply
#2
Hi,
I need more details. If I understand well you have trouble making some prefab instatiate and work properly. What are you putting in that prefab? A spline only? spline with Controller? With Curvy Generator? Some other setup?
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
#3
Thanks for quick replay. I figured out and it works fine now. One oft the best asset on Store!
Reply
#4
Thanks a lot for this message. Such messages keeps me motivated. If and when you feel like it, please leave a review for the asset, that helps a lot.
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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Best practice when Instantiating game object with spline GenericJoe 1 148 08-22-2020, 02:40 PM
Last Post: _Aka_
  Add Template problem in the Generator with Input Spline Shape prefab ATHellboy 1 697 03-13-2020, 11:27 PM
Last Post: _Aka_
  Instantiating Prefab on the spline for infinite track hjk27 3 3,298 08-02-2018, 12:51 PM
Last Post: _Aka_
  Pre-sale question: prefab mesh deformation along spline rogalvao 4 6,394 06-09-2016, 07:48 PM
Last Post: johnnemann

Forum Jump: