declare a bool under your class and true it when the character is moving and add this code(you will have to false the bool when the character is stopped moving too):
if(isOnMove)
{
move = GUI.Button(buttonRect, new GUIContent("Move", "Move the Player"));
GUI.Label(tooltipRect, GUI.tooltip, label1);
}
↧