#if UNITY_EDITOR using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; //Thomas09 [ExecuteInEditMode] public class ScreenShotter : MonoBehaviour { //Attach this class to your camera Object. //this uses ScreenShotterUtil.cs to apply buttons in the inspector. } #endif