pub fn new(index: usize) -> Self {
        Self {
            index,
            ..Default::default()
        }
    }
/// Creates a new `TextureAtlasSprite` with a custom `index`
Creates a new `TextureAtlasSprite` with a custom `index`
Creates a new ` TextureAtlasSprite ` with a custom ` index `
pub fn new(index: usize) -> Self {
        Self {
            index,
            ..Default::default()
        }
    }
pub fn new ( index : usize ) -> Self { Self { index , .. Default :: default ( ) } }
Creates a new `TextureAtlasSprite` with a custom `index`
Creates a new ` TextureAtlasSprite ` with a custom ` index `
index
usize