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
  Error while making prefab having curvy Generator script User2200 3 338 03-15-2021, 07:16 PM
Last Post: _Aka_
  Best practice when Instantiating game object with spline GenericJoe 1 805 08-22-2020, 02:40 PM
Last Post: _Aka_
  Add Template problem in the Generator with Input Spline Shape prefab ATHellboy 1 1,186 03-13-2020, 11:27 PM
Last Post: _Aka_
  Instantiating Prefab on the spline for infinite track hjk27 3 4,096 08-02-2018, 12:51 PM
Last Post: _Aka_

Forum Jump: