/// <summary> /// 获取当前是否是观众模式 /// </summary> /// <returns>bool true 观众模式,false 非观众模式</returns> public static bool GetViewerMode() { #if NIMAPI_UNDER_WIN_DESKTOP_ONLY || UNITY_STANDALONE_WIN return(VChatNativeMethods.nim_vchat_get_viewer_mode()); #else return(false); #endif }
/// <summary> /// 获取当前是否是观众模式 /// </summary> /// <returns></returns> public static bool GetViewerMode() { return(VChatNativeMethods.nim_vchat_get_viewer_mode()); }