Exemplo n.º 1
0
            public static bool Test_BeginCapture()
            {
                bool passed = false;

                cleanUp();

                TextureCapture.BeginCapture();
                if (TextureCapture.photoCaptureObject != null)
                {
                    passed = true;
                }

                cleanUp();

                return(passed);
            }
Exemplo n.º 2
0
            public static bool Test_Capture(string expectedFileName)
            {
                bool passed = false;

                cleanUp();

                TextureCapture.BeginCapture();
                TextureCapture.Capture();
                TextureCapture.EndCapture();

                if (Directory.Exists(expectedFileName))
                {
                    passed = true;
                }

                cleanUp();

                return(passed);
            }
Exemplo n.º 3
0
 public static void Test_GetNextAvailableAutoTextureNumber()
 {
     AutoTextureNumber = TextureCapture.GetNextAvailableAutoTextureNumber();
 }
Exemplo n.º 4
0
 public void OnEnable()
 {
     textureCapture = (TextureCapture)target;
     inputTexture   = serializedObject.FindProperty("inputTexture");
 }