Example #1
0
        public AndroidPerformanceTuner()
        {
            s_ActiveTf = this;
            m_Library  =
#if UNITY_ANDROID && !UNITY_EDITOR
                new AndroidLibraryMethods();
#else
                new DefaultLibraryMethods();
#endif
            m_AdditionalLibraryMethods = new AdditionalLibraryMethods <TFidelity, TAnnotation>(m_Library);
        }
        public AndroidPerformanceTuner()
        {
            s_Tuner   = this;
            m_Library =
#if UNITY_ANDROID && !UNITY_EDITOR
                new AndroidLibraryMethods();
#else
                new DefaultLibraryMethods();
#endif
            m_AdditionalLibraryMethods         = new AdditionalLibraryMethods <TFidelity, TAnnotation>(m_Library);
            Callbacks.onFidelityParamsReceived = FidelityParamsCallbackImpl;
            Callbacks.onUploadReceived         = UploadCallbackImpl;
        }