Crosstales.Common.Util.CTScreenshot Class Reference

Take screen shots inside an application. More...

Inheritance diagram for Crosstales.Common.Util.CTScreenshot:
Crosstales.Common.Util.Singleton< CTScreenshot >

Public Member Functions

void Capture ()
 Capture the screen. More...
 
void Start ()
 

Public Attributes

string Prefix = "CT_Screenshot"
 Prefix for the generate file names. More...
 
int Scale = 1
 summary>Key-press to capture the screen (default: F8). More...
 
KeyCode KeyCode = KeyCode.F8
 summary>Show file location (default: true). More...
 
bool ShowFileLocation = true
 

Additional Inherited Members

- Static Public Member Functions inherited from Crosstales.Common.Util.Singleton< CTScreenshot >
static void CreateInstance (bool searchExistingGameObject=true, bool deleteExistingInstance=false)
 Creates an instance of this object. More...
 
static void DeleteInstance ()
 Deletes the instance of this object. More...
 
- Static Public Attributes inherited from Crosstales.Common.Util.Singleton< CTScreenshot >
static string PrefabPath
 Fully qualified prefab path. More...
 
static string GameObjectName
 Name of the gameobject in the scene. More...
 
- Protected Member Functions inherited from Crosstales.Common.Util.Singleton< CTScreenshot >
virtual void Awake ()
 
virtual void OnDestroy ()
 
virtual void OnApplicationQuit ()
 
- Static Protected Attributes inherited from Crosstales.Common.Util.Singleton< CTScreenshot >
static T instance
 
- Properties inherited from Crosstales.Common.Util.Singleton< CTScreenshot >
static T Instance [get, protected set]
 Returns the singleton instance of this class. More...
 
bool DontDestroy [get, set]
 Don't destroy gameobject during scene switches. More...
 

Detailed Description

Take screen shots inside an application.

Member Function Documentation

◆ Capture()

void Crosstales.Common.Util.CTScreenshot.Capture ( )

Capture the screen.

Member Data Documentation

◆ KeyCode

KeyCode Crosstales.Common.Util.CTScreenshot.KeyCode = KeyCode.F8

summary>Show file location (default: true).

◆ Prefix

string Crosstales.Common.Util.CTScreenshot.Prefix = "CT_Screenshot"

Prefix for the generate file names.

summary>Factor by which to increase resolution (default: 1).

◆ Scale

int Crosstales.Common.Util.CTScreenshot.Scale = 1

summary>Key-press to capture the screen (default: F8).


The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/DJPro/DJPro/Assets/Plugins/crosstales/Common/Extras/CTScreenshot/Scripts/CTScreenshot.cs