using UnityEngine;
using System.Collections;

public class ScreenshotHelper : MonoBehaviour
{
	#if UNITY_EDITOR
	private int count = 1;

	// Update is called once per frame
	void Update ()
	{
		if (Input.GetKeyDown (KeyCode.S) == true) {
			Application.CaptureScreenshot ("screenshot" + this.count + ".png");
			count++;
		}
	}
	#endif
}
