Beispiel #1
0
 void Start()
 {
     splineC  = fishgroup.gameObject.GetComponent <SplineController>();
     splineI  = fishgroup.gameObject.GetComponent <SplineInterpolator>();
     nodes    = splineI.GetPoints();
     moveMode = splineI.GetState();
     isRotate = splineI.IsRotate();
     if (isfullpath == false)
     {
         delay = Random.Range(0, delay);
     }
 }