Exit button

I would like to know how to programme a exit button. Thank you!

use this
application.quit();

also, before you ask on unity answers, look it up in the script reference. its much faster that way :slight_smile: