Exemple #1
0
    static NativeMessageBox()
    {
#if UNITY_EDITOR
        m_platformWrapper = new NativeMessageBoxEditor();
#elif UNITY_STANDALONE_WIN
        m_platformWrapper = new NativeMessageBoxWindows();
#endif
    }
    static NativeMessageBox()
    {
#if UNITY_EDITOR
        m_platformWrapper = new NativeMessageBoxEditor();
#elif UNITY_STANDALONE_WIN
        m_platformWrapper = new NativeMessageBoxWindows();
#elif UNITY_STANDALONE_LINUX
#elif UNITY_STANDALONE_OSX
#endif

        UnityEngine.Debug.Assert(m_platformWrapper != null, "Platform wrapper needs implementation!");
    }