コード例 #1
0
    public bool IsPostIndexAtEnd()
    {
        int numImageSpheres = m_imageSphereController.GetNumSpheres();
        int numPosts        = m_posts.Count;

        return(m_currPostIndex >= (numPosts - numImageSpheres));
    }
コード例 #2
0
    public bool IsGalleryIndexAtEnd()
    {
        int numImageSpheres = m_imageSphereController.GetNumSpheres();
        int numFiles        = m_galleryImageFilePaths.Count;

        return(m_currGalleryImageIndex >= (numFiles - numImageSpheres));
    }