Hey,
I’ve got a bunch of “attack” buttons which are created based on arrays. I’d like to display a countdown timer of sime kind on the button when it’s clicked. Does anyone have any idea how I would go about doing this? Here’s the code for the buttons:
if (GUILayout.Button(AttackNames, GUILayout.Width(60), GUILayout.Height(60))/* FocusController.currentFocus!=null*/ AttackCooldowns == false dist < AttackRange*){*
ApplyDamage(AttackDamage,AttackType_,AttackEffectTimes*);
AttackCooldowns=true;
delayInvoke(i);
}
}*_