/* * Check if a Sphero has connected or not. If not, load the No Sphero Connected Scene */ void CheckForSpheroConnection() { if (m_SpheroProvider.GetConnectedSpheros().Length == 0) { Application.LoadLevel("NoSpheroConnectedScene"); } }
/* * Check if a Sphero has connected or not. If not, load the No Sphero Connected Scene */ void CheckForSpheroConnection() { if (m_SpheroProvider.GetConnectedSpheros().Length == 0) { { if (m_threadSafeLoadLevel != null) { m_threadSafeLoadLevel.LoadLevel("NoSpheroConnectedScene"); } } } }