Texture/Material Replacement
Last updated
Last updated
The ClientAPI also allows you to easily replace textures or materials on the client game. You can use it to modify in-game billboards to add your server logo or simply re-texture parts of the game. You could theorically remaster the game or make a custom texture pack and send that to the client. It'll prob take some time to download and load but still.
1 ) Like with custom assets create your assetbundle and put the new texture inside it. 2 ) Load it like shown below.
3 ) Register your texture or material override like shown below.
This will replace the bus stop ad texture near the motel. (Only the one during daytime tho as it changes) You can ofcourse find the name of the night one and replace it too.
And that's it, its as simple. Every player that will connect to the server will automatically download the asset and load the replacement textures you define.
Enjoy re-texturing the game !