using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using AlmostEngine.Screenshot;
namespace AlmostEngine.Examples
{
///
/// Add this component to a button to take a screenshot when pressed.
///
[RequireComponent (typeof(Button))]
public class TakeScreenshotButton : MonoBehaviour
{
Button m_Button;
ScreenshotManager m_ScreenshotManager;
void Start ()
{
m_ScreenshotManager = GameObject.FindObjectOfType ();
m_Button = GetComponent