I have two objects, both with different textures and I want to make them the same at a certain point of time. The current code I am looking at is the following:
weaponObject.renderer.material.mainTexture = selectedWeapon.renderer.material.mainTexture;
Unfortunately this does not seem to work. The "weaponObject" texture seems to remain the same but simply moves further backwards in terms of the z axis. Any tips? Both Objects are type GameObject.
