标签:time UI unit res width dai cat with layer
http://blog.csdn.net/xxdddail/article/details/49890643
1、_axUnityWebPlayer_OnExternalCall
void _axUnityWebPlayer_OnExternalCall(object sender, AxUnityWebPlayerAXLib._DUnityWebPlayerAXEvents_OnExternalCallEvent e) { if (e.value.StartsWith("LOAD_COMPLETE")) { if (!_axUnityWebPlayer.Visible) { _axUnityWebPlayer.Width = this.Width; _axUnityWebPlayer.Height = this.Height; _axUnityWebPlayer.Show(); HideProgressBar(); } } OnUnityCall(sender, e); }
2、OnGUI 函数
int _notifyTimeAfterLoadComplete = 3; void OnGUI() { if (_notifyTimeAfterLoadComplete>0) { Application.ExternalCall("LOAD_COMPLETE", ""); _notifyTimeAfterLoadComplete--; } }
标签:time UI unit res width dai cat with layer
原文地址:http://www.cnblogs.com/oiliu/p/7048598.html