Example #1
0
        //! Returns TRUE if the Client Controller Interface is connected, else returns FALSE
        public static bool isConnected()
        {
            if (RuntimePlatform.OSXEditor == Application.platform ||
                RuntimePlatform.OSXPlayer == Application.platform)
            {
                return(ControllerInterface_desktop.isConnected());
            }
            else if (RuntimePlatform.IPhonePlayer == Application.platform)
            {
                return(ControllerInterface_mobile.isConnected());
            }

            return(false);
        }