While I know how to change the texture of an object I need to change it based on information that is dynamically read into the game. For example a request is made to a server for the texture that is to be used on said object. So I have the name of the texture and the object that I want to put the texture on.
Ideally I would like to be able to have a variable that can pass the name of the texture, but I have not found anything that will do the trick. Any help would be appreciated.