private static void HandleInteractivityStateChangedInternal(object sender, InteractivityStateChangedEventArgs e) { if (e == null) { return; } var state = e.State; switch (state) { case InteractivityState.ShortCodeRequired: if (!mixerDialog.gameObject.activeInHierarchy) { mixerDialog.gameObject.SetActive(true); } mixerDialog.Show(InteractivityManager.SingletonInstance.ShortCode); break; case InteractivityState.InteractivityEnabled: mixerDialog.Hide(); ProcessSerializedProperties(); pendingGoInteractive = false; break; default: break; } }
private static void HandleInteractivityStateChangedInternal(object sender, InteractivityStateChangedEventArgs e) { var state = e.State; switch (state) { case InteractivityState.ShortCodeRequired: mixerDialog.Show(InteractivityManager.SingletonInstance.ShortCode); break; case InteractivityState.InteractivityEnabled: mixerDialog.Hide(); ProcessSerializedProperties(); pendingGoInteractive = false; break; default: break; } }