protected void Awake()
        {
            LoadTwitchLibraries();

            if (Application.platform == RuntimePlatform.WindowsEditor ||
                Application.platform == RuntimePlatform.WindowsPlayer)
            {
                m_Stream = new UnityStream(new DesktopUnityStreamAPI());
            }
            else if (Application.platform == RuntimePlatform.OSXEditor ||
                     Application.platform == RuntimePlatform.OSXPlayer)
            {
                m_Stream = new UnityStream(new DesktopUnityStreamAPI());
            }
            else if (Application.platform == RuntimePlatform.IPhonePlayer)
            {
                // TODO: when Unity fixes stuff - need to reinclude InternalUnityStreamAPI in twitchsdkwrapper.dll
                //m_Stream = new UnityStream( new InternalUnityStreamAPI() );
            }
            else if (Application.platform == RuntimePlatform.Android)
            {
                // TODO: not supported yet
            }
            else
            {
                // TODO: not supported yet
            }
        }
        protected void Awake()
        {
            LoadTwitchLibraries();

            m_Core = Core.Instance;

            if (m_Core == null)
            {
                m_Core = new Core(new StandardCoreAPI());
            }

            if (Application.platform == RuntimePlatform.WindowsEditor ||
                Application.platform == RuntimePlatform.WindowsPlayer)
            {
                m_Stream = new UnityStream(new DesktopUnityStreamAPI());
            }
            else if (Application.platform == RuntimePlatform.OSXEditor ||
                     Application.platform == RuntimePlatform.OSXPlayer)
            {
                m_Stream = new UnityStream(new DesktopUnityStreamAPI());
            }
            else if (Application.platform == RuntimePlatform.IPhonePlayer)
            {
                // TODO: when Unity fixes stuff - need to reinclude InternalUnityStreamAPI in twitchsdkwrapper.dll
                //m_Stream = new UnityStream( new InternalUnityStreamAPI() );
            }
            else if (Application.platform == RuntimePlatform.Android)
            {
                // TODO: not supported yet
            }
            else
            {
                // TODO: not supported yet
            }
        }