Changed the name of asset project.("Sample" to "Example")

This commit is contained in:
EnoxSoftware 2017-02-15 18:09:12 +09:00
Родитель 506f6b7ebe
Коммит 51e68224ad
22 изменённых файлов: 39 добавлений и 30 удалений

Двоичные данные
AVProWithOpenCVForUnityExample.unitypackage Normal file

Двоичный файл не отображается.

Двоичные данные
AVProWithOpenCVForUnitySample.unitypackage

Двоичный файл не отображается.

Просмотреть файл

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: d7b8772dfe0de4c40b1a3339297d65dd
folderAsset: yes
timeCreated: 1471094109
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Просмотреть файл

@ -417,7 +417,7 @@ MonoBehaviour:
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: GetReadableTextureSample
m_Text: GetReadableTextureExample
--- !u!222 &404420402
CanvasRenderer:
m_ObjectHideFlags: 0
@ -544,7 +544,7 @@ MonoBehaviour:
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: ExtractFrameSample
m_Text: ExtractFrameExample
--- !u!222 &992032545
CanvasRenderer:
m_ObjectHideFlags: 0
@ -748,7 +748,7 @@ GameObject:
- 114: {fileID: 1292636402}
- 114: {fileID: 1292636401}
m_Layer: 5
m_Name: GetReadableTextureSampleButton
m_Name: GetReadableTextureExampleButton
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@ -830,7 +830,7 @@ MonoBehaviour:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1124998460}
m_MethodName: OnGetReadableTextureSample
m_MethodName: OnGetReadableTextureExample
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
@ -1309,7 +1309,7 @@ GameObject:
- 114: {fileID: 1985475478}
- 114: {fileID: 1985475477}
m_Layer: 5
m_Name: ExtractFrameSampleButton
m_Name: ExtractFrameExampleButton
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@ -1373,7 +1373,7 @@ MonoBehaviour:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 1124998460}
m_MethodName: OnExtractFrameSample
m_MethodName: OnExtractFrameExample
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}

Просмотреть файл

@ -5,9 +5,9 @@ using System.Collections;
using UnityEngine.SceneManagement;
#endif
namespace AVProWithOpenCVForUnitySample
namespace AVProWithOpenCVForUnityExample
{
public class AVProWithOpenCVForUnitySample : MonoBehaviour
public class AVProWithOpenCVForUnityExample : MonoBehaviour
{
// Use this for initialization
@ -31,21 +31,21 @@ namespace AVProWithOpenCVForUnitySample
#endif
}
public void OnGetReadableTextureSample ()
public void OnGetReadableTextureExample ()
{
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
SceneManager.LoadScene ("GetReadableTextureSample");
SceneManager.LoadScene ("GetReadableTextureExample");
#else
Application.LoadLevel ("GetReadableTextureSample");
Application.LoadLevel ("GetReadableTextureExample");
#endif
}
public void OnExtractFrameSample ()
public void OnExtractFrameExample ()
{
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
SceneManager.LoadScene ("ExtractFrameSample");
SceneManager.LoadScene ("ExtractFrameExample");
#else
Application.LoadLevel ("ExtractFrameSample");
Application.LoadLevel ("ExtractFrameExample");
#endif
}
}

Просмотреть файл

@ -9,9 +9,9 @@ using UnityEngine.SceneManagement;
using RenderHeads.Media.AVProVideo;
using OpenCVForUnity;
namespace AVProWithOpenCVForUnitySample
namespace AVProWithOpenCVForUnityExample
{
public class ExtractFrameSample : MonoBehaviour
public class ExtractFrameExample : MonoBehaviour
{
private const int NumFrames = 16;
@ -148,7 +148,7 @@ namespace AVProWithOpenCVForUnitySample
}
Imgproc.putText (rgbaMat, "AVPro With OpenCV for Unity Sample", new Point (50, rgbaMat.rows () / 2), Core.FONT_HERSHEY_SIMPLEX, 2.0, new Scalar (255, 0, 0, 255), 5, Imgproc.LINE_AA, false);
Imgproc.putText (rgbaMat, "AVPro With OpenCV for Unity Example", new Point (50, rgbaMat.rows () / 2), Core.FONT_HERSHEY_SIMPLEX, 2.0, new Scalar (255, 0, 0, 255), 5, Imgproc.LINE_AA, false);
Imgproc.putText (rgbaMat, "ExtractFrame: " + timeSeconds, new Point (50, rgbaMat.rows () / 2 + 60), Core.FONT_HERSHEY_SIMPLEX, 2.0, new Scalar (0, 0, 255, 255), 5, Imgproc.LINE_AA, false);
Imgproc.putText (rgbaMat, "W:" + rgbaMat.width () + " H:" + rgbaMat.height () + " SO:" + Screen.orientation, new Point (5, rgbaMat.rows () - 10), Core.FONT_HERSHEY_SIMPLEX, 1.0, new Scalar (255, 255, 255, 255), 2, Imgproc.LINE_AA, false);
@ -247,9 +247,9 @@ namespace AVProWithOpenCVForUnitySample
public void OnBackButton ()
{
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
SceneManager.LoadScene ("AVProWithOpenCVForUnitySample");
SceneManager.LoadScene ("AVProWithOpenCVForUnityExample");
#else
Application.LoadLevel ("AVProWithOpenCVForUnitySample");
Application.LoadLevel ("AVProWithOpenCVForUnityExample");
#endif
}

Просмотреть файл

@ -9,9 +9,9 @@ using UnityEngine.SceneManagement;
using RenderHeads.Media.AVProVideo;
using OpenCVForUnity;
namespace AVProWithOpenCVForUnitySample
namespace AVProWithOpenCVForUnityExample
{
public class GetReadableTextureSample : MonoBehaviour
public class GetReadableTextureExample : MonoBehaviour
{
/// <summary>
@ -141,7 +141,7 @@ namespace AVProWithOpenCVForUnitySample
}
Imgproc.putText (rgbaMat, "AVPro With OpenCV for Unity Sample", new Point (50, rgbaMat.rows () / 2), Core.FONT_HERSHEY_SIMPLEX, 2.0, new Scalar (255, 0, 0, 255), 5, Imgproc.LINE_AA, false);
Imgproc.putText (rgbaMat, "AVPro With OpenCV for Unity Example", new Point (50, rgbaMat.rows () / 2), Core.FONT_HERSHEY_SIMPLEX, 2.0, new Scalar (255, 0, 0, 255), 5, Imgproc.LINE_AA, false);
Imgproc.putText (rgbaMat, "W:" + rgbaMat.width () + " H:" + rgbaMat.height () + " SO:" + Screen.orientation, new Point (5, rgbaMat.rows () - 10), Core.FONT_HERSHEY_SIMPLEX, 1.0, new Scalar (255, 255, 255, 255), 2, Imgproc.LINE_AA, false);
//Convert Mat to Texture2D
@ -234,9 +234,9 @@ namespace AVProWithOpenCVForUnitySample
public void OnBackButton ()
{
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
SceneManager.LoadScene ("AVProWithOpenCVForUnitySample");
SceneManager.LoadScene ("AVProWithOpenCVForUnityExample");
#else
Application.LoadLevel ("AVProWithOpenCVForUnitySample");
Application.LoadLevel ("AVProWithOpenCVForUnityExample");
#endif
}

Просмотреть файл

@ -5,7 +5,7 @@ using System.Collections;
using UnityEngine.SceneManagement;
#endif
namespace AVProWithOpenCVForUnitySample
namespace AVProWithOpenCVForUnityExample
{
public class ShowLicense : MonoBehaviour
{
@ -25,9 +25,9 @@ namespace AVProWithOpenCVForUnitySample
public void OnBackButton ()
{
#if UNITY_5_3 || UNITY_5_3_OR_NEWER
SceneManager.LoadScene ("AVProWithOpenCVForUnitySample");
SceneManager.LoadScene ("AVProWithOpenCVForUnityExample");
#else
Application.LoadLevel ("AVProWithOpenCVForUnitySample");
Application.LoadLevel ("AVProWithOpenCVForUnityExample");
#endif
}
}

Просмотреть файл

@ -1,4 +1,4 @@
AVPro With OpenCV for Unity Sample
AVPro With OpenCV for Unity Example
====================
Screen Shot
@ -14,7 +14,7 @@ UnityPlugin-AVProVideo-Latest-Trial 1.5.12
Setup
-----
* Create New Project. (AVProWithOpenCVForUnitySample)
* Create New Project. (AVProWithOpenCVForUnityExample)
* Import OpenCVForUnity2.1.0 from AssetStore
* Import UnityPlugin-AVProVideo-Latest-Trial.unitypackage
* Import AVProWithOpenCVForUnitySample.unitypackage
* Import AVProWithOpenCVForUnityExample.unitypackage