I want to do a ScreenShot, but the path to save this image is chosen by the user.
Then I need to show the “Save As” window from Windows to enable the user to choose the location and the name of the image.
Best Regards,
Diogo.
I want to do a ScreenShot, but the path to save this image is chosen by the user.
Then I need to show the “Save As” window from Windows to enable the user to choose the location and the name of the image.
Best Regards,
Diogo.
–Eric
hi!
if it’s for in game, the way of Eric5h5 is correct but if it’s in unity software, the way is the editor class http://unity3d.com/support/documentation/ScriptReference/EditorUtility.html
this will not work as unity will not let you build the game with editor utility name space
please tell another solution
Putting aside the fact that you’re responding to a thread from 2011…
Either:
A: Surround the code in #if UNITY_EDITOR
preprocessor directives.
B: Put the script in a folder called ‘Editor’ if it’s an editor only script.
C: Put the script in an editor only assembly definition
Usually I do both A and C together.
1> did not saw the date!!! sorry!!!
2>thanks for telling(i will use first one)