Exemple #1
0
    //TODO ADD MINIMUM CONFIDENCE TO UPDATE!


    void Awake()
    {
        skeletonManager       = FindObjectOfType(typeof(RUISSkeletonManager)) as RUISSkeletonManager;
        cachedAverageSpeed    = new CachedAverageSpeed(ref points);
        cachedMaxVelocity     = new CachedMaxVelocity(ref points);
        cachedAverageVelocity = new CachedAverageVelocity(ref points);
    }
Exemple #2
0
 void Awake()
 {
     cachedAverageSpeed    = new CachedAverageSpeed(ref points);
     cachedMaxVelocity     = new CachedMaxVelocity(ref points);
     cachedAverageVelocity = new CachedAverageVelocity(ref points);
     if (pathsColls != null)
     {
         colliders = new Transform[pathsColls.transform.childCount];
         for (int i = 0; i < colliders.Length; i++)
         {
             colliders [i] = pathsColls.transform.GetChild(i);
         }
     }
 }
 void Awake()
 {
     cachedAverageSpeed    = new CachedAverageSpeed(ref points);
     cachedMaxVelocity     = new CachedMaxVelocity(ref points);
     cachedAverageVelocity = new CachedAverageVelocity(ref points);
 }