Beispiel #1
0
    //
    private void Awake()
    {
        //makes sure that callbacks are setup
        VTP.init();
        destroyed     = false;
        videoInstance = IntPtr.Zero;


        if (!VTP.checkIfVTPSupported())
        {
            this.enabled = false;
            return;
        }

        VideoInstance = createVideoTexture();
    }
    //
    private void Awake()
    {
        //makes sure that callbacks are setup
//		if(Application.platform == RuntimePlatform.OSXEditor || Application.platform == RuntimePlatform.OSXPlayer)
        VTP.init();
    }