void Start () { if (Application.isEditor) { Debug.LogWarning ("Launchie mustn't run from editor!"); return; } if ( url == null || url == "" || version == null || version == "" ) { Debug.LogWarning ("Launchie `url` and `version` cannot be empty!"); return; } lgui = (LaunchieGUI)GetComponent("LaunchieGUI"); new System.Threading.Thread (Asyncwork).Start(); }
void Start() { if( Application.isEditor ) { Debug.LogWarning( "Launchie shouldn't run from editor! It will be explained soon." ); return; } if( url == null || url == "" || version == null || version == "" ) { Debug.LogWarning( "Launchie `url` and `version` cannot be empty!" ); return; } lgui = (LaunchieGUI)GetComponent( "LaunchieGUI" ); eh = (ErrorHandler)GetComponent( "ErrorHandler" ); eh_exists = ( eh != null ); new Thread( waitTime ).Start(); }