Skip to content

Commit 6d815bd

Browse files
author
satoo air
committed
update 2.0.3
1 parent 056547a commit 6d815bd

34 files changed

Lines changed: 296 additions & 153 deletions

File tree

ReadMe.pdf

1.11 KB
Binary file not shown.

Samples/BackgroundSubtractorMOG2Sample/BackgroundSubtractorMOG2Sample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEngine;
22
using System.Collections;
33

4-
#if UNITY_5_3
4+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
55
using UnityEngine.SceneManagement;
66
#endif
77
using OpenCVForUnity;
@@ -142,7 +142,7 @@ void OnDisable ()
142142
/// </summary>
143143
public void OnBackButton ()
144144
{
145-
#if UNITY_5_3
145+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
146146
SceneManager.LoadScene ("OpenCVForUnitySample");
147147
#else
148148
Application.LoadLevel ("OpenCVForUnitySample");

Samples/CamShiftSample/CamShiftSample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEngine;
22
using System.Collections;
33

4-
#if UNITY_5_3
4+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
55
using UnityEngine.SceneManagement;
66
#endif
77
using OpenCVForUnity;
@@ -259,7 +259,7 @@ void OnDisable ()
259259
/// </summary>
260260
public void OnBackButton ()
261261
{
262-
#if UNITY_5_3
262+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
263263
SceneManager.LoadScene ("OpenCVForUnitySample");
264264
#else
265265
Application.LoadLevel ("OpenCVForUnitySample");

Samples/ComicFilterSample/ComicFilterSample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEngine;
22
using System.Collections;
33

4-
#if UNITY_5_3
4+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
55
using UnityEngine.SceneManagement;
66
#endif
77
using OpenCVForUnity;
@@ -230,7 +230,7 @@ void OnDisable ()
230230
/// </summary>
231231
public void OnBackButton ()
232232
{
233-
#if UNITY_5_3
233+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
234234
SceneManager.LoadScene ("OpenCVForUnitySample");
235235
#else
236236
Application.LoadLevel ("OpenCVForUnitySample");

Samples/ConvexHullSample/ConvexHullSample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEngine;
22
using System.Collections.Generic;
33

4-
#if UNITY_5_3
4+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
55
using UnityEngine.SceneManagement;
66
#endif
77
using OpenCVForUnity;
@@ -76,7 +76,7 @@ void Update ()
7676

7777
public void OnBackButton ()
7878
{
79-
#if UNITY_5_3
79+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
8080
SceneManager.LoadScene ("OpenCVForUnitySample");
8181
#else
8282
Application.LoadLevel ("OpenCVForUnitySample");

Samples/DetectFaceSample/DetectFaceSample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEngine;
22
using System.Collections;
33

4-
#if UNITY_5_3
4+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
55
using UnityEngine.SceneManagement;
66
#endif
77
using OpenCVForUnity;
@@ -69,7 +69,7 @@ void Update ()
6969

7070
public void OnBackButton ()
7171
{
72-
#if UNITY_5_3
72+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
7373
SceneManager.LoadScene ("OpenCVForUnitySample");
7474
#else
7575
Application.LoadLevel ("OpenCVForUnitySample");

Samples/DrawingSample/DrawingSample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEngine;
22
using System.Collections;
33

4-
#if UNITY_5_3
4+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
55
using UnityEngine.SceneManagement;
66
#endif
77
using OpenCVForUnity;
@@ -80,7 +80,7 @@ void Update ()
8080

8181
public void OnBackButton ()
8282
{
83-
#if UNITY_5_3
83+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
8484
SceneManager.LoadScene ("OpenCVForUnitySample");
8585
#else
8686
Application.LoadLevel ("OpenCVForUnitySample");

Samples/FaceRecognizerSample/FaceRecognizerSample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections;
33
using System.Collections.Generic;
44

5-
#if UNITY_5_3
5+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
66
using UnityEngine.SceneManagement;
77
#endif
88
using OpenCVForUnity;
@@ -81,7 +81,7 @@ void Update ()
8181

8282
public void OnBackButton ()
8383
{
84-
#if UNITY_5_3
84+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
8585
SceneManager.LoadScene ("OpenCVForUnitySample");
8686
#else
8787
Application.LoadLevel ("OpenCVForUnitySample");

Samples/Feature2DSample/Feature2DSample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using UnityEngine;
22
using System.Collections;
33

4-
#if UNITY_5_3
4+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
55
using UnityEngine.SceneManagement;
66
#endif
77
using OpenCVForUnity;
@@ -84,7 +84,7 @@ void Update ()
8484

8585
public void OnBackButton ()
8686
{
87-
#if UNITY_5_3
87+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
8888
SceneManager.LoadScene ("OpenCVForUnitySample");
8989
#else
9090
Application.LoadLevel ("OpenCVForUnitySample");

Samples/HandPoseEstimationSample/HandPoseEstimationSample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using System.Collections;
33
using UnityEngine.UI;
44

5-
#if UNITY_5_3
5+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
66
using UnityEngine.SceneManagement;
77
#endif
88
using OpenCVForUnity;
@@ -207,7 +207,7 @@ void OnDisable ()
207207
/// </summary>
208208
public void OnBackButton ()
209209
{
210-
#if UNITY_5_3
210+
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
211211
SceneManager.LoadScene ("OpenCVForUnitySample");
212212
#else
213213
Application.LoadLevel ("OpenCVForUnitySample");

0 commit comments

Comments
 (0)