Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: strange error
Post: strange error
not sure if its something Im doing?
[DTSingleton] Something went really wrong - there should never be more than 1 singleton! PLEASE INFORM THE AUTHOR!
UnityEngine.Debug:LogError(Object)
FluffyU... |
|
pez111 |
Curvy Splines - support forum
|
5 |
7,428 |
11-30-2017, 02:42 PM |
|
|
Thread: follow spline on instantiation
Post: RE: follow spline on instantiation
Jake Wrote: (11-15-2017, 06:42 PM)
--
You shouldn't call Refresh() directly after getting the reference. Instead, get the reference in Awake (or Start) and yield in Start() until CurvySpline.IsInitia... |
|
pez111 |
Curvy Splines - support forum
|
3 |
6,136 |
11-16-2017, 11:04 PM |
|
|
Thread: follow spline on instantiation
Post: RE: follow spline on instantiation
nvm, this seems to work:
Code:
--
public CurvySpline Spline
{
get
{
var mySpline = GameObject.FindGameObjectWithTag(splinetag);
v... |
|
pez111 |
Curvy Splines - support forum
|
3 |
6,136 |
11-13-2017, 07:34 PM |
|
|
Thread: follow spline on instantiation
Post: follow spline on instantiation
Hi
What is the correct way for an instantiated prefab to follow a spline already present in scene?
So far I'm trying this in the spline controller attached to the prefab:
void Awake()
{
... |
|
pez111 |
Curvy Splines - support forum
|
3 |
6,136 |
11-12-2017, 11:10 PM |