Kinect.KinectManager.LateUpdate C# (CSharp) Method

LateUpdate() public method

public LateUpdate ( ) : void
return void
        void LateUpdate()
        {
            // late update the avatars
            if (lateUpdateAvatars)
            {
                foreach (AvatarController controller in avatarControllers)
                {
                    //int userIndex = controller ? controller.playerIndex : -1;
                    Int64 userId = controller ? controller.playerId : 0;

                    //if((userIndex >= 0) && (userIndex < alUserIds.Count))
                    if (userId != 0 && dictUserIdToIndex.ContainsKey(userId))
                    {
                        //Int64 userId = alUserIds[userIndex];
                        controller.UpdateAvatar(userId);
                    }
                }
            }
        }
KinectManager