Class ScreenCaptureModule
- Namespace
- CodeBase.CameraSystem.Core
- Assembly
- 4Experience.CodeBase.CameraSystem.Runtime.dll
public class ScreenCaptureModule : MonoBehaviour
- Inheritance
-
Object
Component
Behaviour
MonoBehaviour
ScreenCaptureModule
- Extension Methods
-
Properties
private CameraSystemInput CameraInput { get; set; }
Property Value
- CameraSystemInput
CaptureScreenshotAction
private InputAction CaptureScreenshotAction { get; set; }
Property Value
- InputAction
EnableConsoleNotifications
private bool EnableConsoleNotifications { get; set; }
Property Value
- bool
FileExtension
private string FileExtension { get; set; }
Property Value
- string
ScreenshotsName
private string ScreenshotsName { get; set; }
Property Value
- string
ScreenshotsPath
private string ScreenshotsPath { get; set; }
Property Value
- string
Methods
Awake()
protected virtual void Awake()
CaptureScreenshot()
private void CaptureScreenshot()
CreateNewScreenshootNumber()
private int CreateNewScreenshootNumber()
Returns
- int
private void DisableInputActions()
private void EnableInputActions()
GetLastScreenshootNumber(string[])
private int GetLastScreenshootNumber(string[] capturedScreenshootsNames)
Parameters
capturedScreenshootsNames string[]
Returns
- int
Initialize()
private void Initialize()
OnDisable()
protected virtual void OnDisable()
OnEnable()
protected virtual void OnEnable()
RetrieveScreenshootNumberFromScreenshootName(string)
private int RetrieveScreenshootNumberFromScreenshootName(string screenshootName)
Parameters
screenshootName string
Returns
- int