Example #1
0
    // Update is called once per frame
    void Update()
    {
#if UNITY_ANDROID
        PluginsDemoAndroidGUI.Update();
#endif
#if UNITY_IPHONE
        PluginsDemoIosGUI.Update();
#endif
    }
Example #2
0
    void OnGUI()
    {
#if UNITY_ANDROID
        PluginsDemoAndroidGUI.OnGUI();
#endif
#if UNITY_IPHONE
        PluginsDemoIosGUI.OnGUI();
#endif
    }
Example #3
0
    // 开发者自定义的账号操作反回结果方法
    void AccountCallBack(string jsonStr)
    {
        Debug.Log("AccountCallBack----jsonStr-----" + jsonStr);
#if UNITY_ANDROID
        PluginsDemoAndroidGUI.CallBack(jsonStr);
#endif
#if UNITY_IPHONE
        PluginsDemoIosGUI.CallBack(jsonStr);
#endif
    }
Example #4
0
    // Use this for initialization
    void Start()
    {
#if UNITY_ANDROID
        PluginsDemoAndroidGUI.Start(gameObject);
#endif

#if UNITY_IPHONE
        PluginsDemoIosGUI.Start(gameObject);
#endif
    }
Example #5
0
 // Use this for initialization
 void Start()
 {
     PluginsDemoAndroidGUI.Start(gameObject);
 }
Example #6
0
 // 开发者自定义的账号操作反回结果方法
 void AccountCallBack(string jsonStr)
 {
     Debug.Log("AccountCallBack----jsonStr-----" + jsonStr);
     PluginsDemoAndroidGUI.CallBack(jsonStr);
 }
Example #7
0
 void OnGUI()
 {
     PluginsDemoAndroidGUI.OnGUI();
 }
Example #8
0
 // Update is called once per frame
 void Update()
 {
     PluginsDemoAndroidGUI.Update();
 }