public List textureList;
void OnGUI(){
if(GUI.Button(new Rect(10,10,200,50),"White")){
renderer.material.mainTexture = textureList[0];
for(int i=0; i
↧