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