Show / Hide Table of Contents

Class MediaCapture

A MonoBehaviour script that gets created by our MediaCreator that allows us to use coroutines from a static context, specifically used for taking screenshots at the end of our frame.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
MediaCapture
Namespace: AdrianMiasik.Components.Specific.Automation
Assembly: Assembly-CSharp.dll
Syntax
public class MediaCapture : MonoBehaviour

Methods

| Improve this Doc View Source

CaptureScreenshot(String, Action)

Declaration
public void CaptureScreenshot(string filename, Action nextAction)
Parameters
Type Name Description
System.String filename
System.Action nextAction
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX