private void Initialize()
        {
            m_stkTaskScheduler = new SoundToolKitTaskScheduler();

            if (StkAudioEngine == null)
            {
                InitializeAudioEngine();
            }

            InitializeAudioBridge();

            ResourceContainer = new ResourcesContainer();

            if (m_settingsInspector == null)
            {
                Settings = ScriptableObject.CreateInstance <SoundToolKitSettings>();
            }

            UpdateProperties();

            SoundToolKitDebug.SetLogStackTrace();

#if UNITY_EDITOR
#if !UNITY_5 && !UNITY_2017_1
            EditorApplication.pauseStateChanged += EditorApplication_pauseStateChanged;
#else
            EditorApplication.playmodeStateChanged += EditorApplication_playmodeStateChanged;
#endif
#endif
            SoundToolKitDebug.Log("Sound enabled.");

            // NOTE: On audioEngine start it will automatically play sound.
            Play();
        }