- Home /
Progress bar with Cancel button on Unity Editor Window
Dear Members,
I have to create a progress bar which is dynamically updated and a cancel button on Unity Editor Window. When Cancel button is clicked the progress bar stops and action aborts.
I am using
EditorGUI.ProgressBar(rect(x,y,w,h), barVal, ""); //for progress bar
and
If(GUI.Button(Rect(x,y,w,h), "Cancel")) {
//Need action to stop progress bar and abort all action?????
} //to create cancel button.
Please help me to be able to cancel progress bar and abort actions when cancel button is clicked.
Thanks & regards, Anoop
Your answer

Follow this Question
Related Questions
Unity3d Update issue 2 Answers
making a trail that destroys enemies 1 Answer
Issue in Build APk and Export through Script 0 Answers
Unity Editor deleted everything in Heirarchy 1 Answer
Best Method For Best Particles? 1 Answer