void DisplaySwitchBranchPopup(int index) { if (EditorUtility.DisplayDialog( "Confirm Branch Checkout/Clean", "This will CLEAN the project. Any uncommited changes will be irretrievably lost! Are you sure you want to continue?", "Ok", "Cancel")) { BrowserUtility.localBranchIndex = index; BrowserUtility.OnButton_CheckoutBranch(this); } }