HKI Core
|
This MonoBehaviour creates screenshots by pressing a key. Currently this script only works inside the Unity Editor (unsure why not at runtime). More...
Private Member Functions | |
void | Update () |
IEnumerator | CaptureScreenshoot (bool withoutHUD) |
Private Attributes | |
KeyCode | CaptureKey = KeyCode.F8 |
string | ScreenShotsPath = "Screenshots" |
string | Name = "Screen" |
GameObject [] | HudFreeScreenShotHideObjects |
KeyCode | CaptureKeyForHudFree = KeyCode.F9 |
int | count = 0 |
bool [] | oldStatus |
This MonoBehaviour creates screenshots by pressing a key. Currently this script only works inside the Unity Editor (unsure why not at runtime).
There are two kinds of screenshots that are possible 1st: a screenshot with all things that are visible 2nd: screenshots without some elements (for example if you want to exclude the HUD) all things that shouln't be visible should be in the HudFreeScreenShotHideObjects array.
Definition at line 14 of file ScreenShotMaker.cs.
|
inlineprivate |
Definition at line 40 of file ScreenShotMaker.cs.
|
inlineprivate |
Definition at line 30 of file ScreenShotMaker.cs.
|
private |
Definition at line 17 of file ScreenShotMaker.cs.
|
private |
Definition at line 22 of file ScreenShotMaker.cs.
|
private |
Definition at line 26 of file ScreenShotMaker.cs.
|
private |
Definition at line 21 of file ScreenShotMaker.cs.
|
private |
Definition at line 19 of file ScreenShotMaker.cs.
|
private |
Definition at line 27 of file ScreenShotMaker.cs.
|
private |
Definition at line 18 of file ScreenShotMaker.cs.