Talk:TakeScreenshot

Can't the script be simplified a bit by just using Input.GetKeyDown? It will only return true on up->down transition and you won't have to track it manually. NeARAZ 08:02, 12 August 2006 (GMT)

Ah. Yes. Thanks for pointing that out. I'd simply missed that function when reading the Unity docs. I'll post the improved version of the script now. Hayden

Path to Desktop
Actually, Mono/.NET has functions to get this path. Environment.GetFolderPath(Environment.SpecialFolder.Desktop) http://msdn2.microsoft.com/en-us/library/system.environment.getfolderpath.aspx

Technically, I've heard people are supposed to put things like saved games and screenshots in the user's Documents folder. It was in some HIG of Apple's, but we all know how much those are followed. --Aarku 09:30, 14 August 2006 (GMT)