Talk:TakeScreenshot

From Unify Community Wiki
Revision as of 09:30, 14 August 2006 by Aarku (Talk | contribs)

Jump to: navigation, search

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. <csharp>Environment.GetFolderPath(Environment.SpecialFolder.Desktop)</csharp> http://msdn2.microsoft.com/en-us/library/system.environment.getfolderpath.aspx --Aarku 09:30, 14 August 2006 (GMT)

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox