Hi everyone, I'm trying to use a for loop with one of my GUILayout.Buttons . But for some reason I'm getting this error cannot convert `char' expression to type `UnityEngine.Texture'. I don't know why it believes I'm trying to use a texture.
for (int i = 0; i < 5; i++)
if (GUILayout.Button("someButton"[i])){
↧