예제 #1
0
    // Use this for initialization
    void Awake()
    {
        #if UNITY_IOS
        m_oPlatformSpecific = new PlatformSpecificIOS();
        #elif UNITY_ANDROID
        m_oPlatformSpecific = new PlatformSpecificAndroid();
        #else
        m_oPlatformSpecific = new PlatformSpecificBase();
        #endif

        m_oPlatformSpecific.InitPlatofrm();
    }
예제 #2
0
    // Use this for initialization
    void Awake()
    {
                #if UNITY_IOS
        m_oPlatformSpecific = new PlatformSpecificIOS();
                #elif UNITY_ANDROID
        m_oPlatformSpecific = new PlatformSpecificAndroid();
                #else
        m_oPlatformSpecific = new PlatformSpecificBase();
                #endif

        m_oPlatformSpecific.InitPlatofrm();
    }