Answer the question
In order to leave comments, you need to log in
Event to change the texture in the material?
Is there an event to change texture in a material in Unity?
Answer the question
In order to leave comments, you need to log in
Slightly strange request. You are making your own game, not a modification to someone else's game. That is, you have full access to its insides. In this case, why not generate an event at the time of the texture change in the place of the code where this same texture change is carried out?
In a good way, you even need an event not of changing the texture, but more meaningful in accordance with the logic of the game. For example, if an object has several states, then it would be nice to have a variable (property) with this state and a corresponding state change event. Textures will then be completely irrelevant.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question