【Unity3D】winform嵌套,替换logo

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--;  
        }  
    }
原文地址:https://www.cnblogs.com/oiliu/p/7048598.html