15 lines
323 B
C#
15 lines
323 B
C#
#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 |