Hello . I am trying to change and alter material of ui2dsprite and UItexture during runtime . It seems normal UItexture.material doesn't work i tried access UItexture.DrawCall.basematerial but it gives me null exception . I can not think of any other way to do this . Any idea how i can do that ?
Thanks