Unity. Set transparent button. Делаем кнопку в Unity прозрачно

Unity. Set transparent button. Делаем кнопку в Unity прозрачной

controlTexture = Resources.Load("clear") as Texture2D;

GUI.backgroundColor = Color.clear;
if(GUI.Button(Rect(20,20,60,60), controlTexture)){

}

 

Leave a Reply

Please disable your adblocker or whitelist this site!