public int findAnimation ( GVRAnimation findme ) { int index = 0 ; for ( GVRAnimation anim : mAnimations ) { if ( anim == findme ) { return index ; } ++ index ; } return - 1 ; }
Find the index of this animation if it is in this animator .