/** * Start the Client Controller Interface with the given host name * * @return zero upon success, otherwise an error code is returned. */ public static int startClientInterface(string hostname = "") { if (hostname.Equals("")) { hostname = "esc-game-server.local"; } if (RuntimePlatform.OSXEditor == Application.platform || RuntimePlatform.OSXPlayer == Application.platform) { return(ControllerInterface_desktop.startClientInterface(hostname)); } else if (RuntimePlatform.IPhonePlayer == Application.platform) { return(ControllerInterface_mobile.startClientInterface(hostname)); } return(-1); }