//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); }
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); }