Changed the name of GetTexture to GetObject to better identify what the script does.