public static bool Test_BeginCapture() { bool passed = false; cleanUp(); TextureCapture.BeginCapture(); if (TextureCapture.photoCaptureObject != null) { passed = true; } cleanUp(); return(passed); }
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); }
public static void Test_GetNextAvailableAutoTextureNumber() { AutoTextureNumber = TextureCapture.GetNextAvailableAutoTextureNumber(); }
public void OnEnable() { textureCapture = (TextureCapture)target; inputTexture = serializedObject.FindProperty("inputTexture"); }