浏览代码
Local User Audio UI hooked into listening for LocalUser.HasVoice.
Local User Audio UI hooked into listening for LocalUser.HasVoice.
Added Mute Toggle Button, Added Volume Button/main/staging/vivox_UI
当前提交
60ca6111
共有 11 个文件被更改,包括 169 次插入 和 73 次删除
-
63Assets/Prefabs/UI/UserCardPanel.prefab
-
10Assets/Scenes/mainScene.unity
-
4Assets/Scripts/Game/GameManager.cs
-
58Assets/Scripts/Game/LobbyUser.cs
-
1Assets/Scripts/Infrastructure/Messenger.cs
-
35Assets/Scripts/UI/InLobbyUserUI.cs
-
12Assets/Scripts/UI/LobbyUserVolumeUI.cs
-
23Assets/Scripts/UI/MuteUI.cs
-
2ProjectSettings/UnityConnectSettings.asset
-
23Assets/Scripts/Game/LocalUserVolume.cs
-
11Assets/Scripts/Game/LocalUserVolume.cs.meta
|
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
|
|||
namespace LobbyRelaySample |
|||
{ |
|||
[SerializeField] |
|||
public class LobbyUserAudio |
|||
{ |
|||
public string ID { get; private set; } |
|||
public bool HasVoice; |
|||
public bool Muted; |
|||
public float UserVolume; |
|||
|
|||
public LobbyUserAudio(string userID) |
|||
{ |
|||
ID = userID; |
|||
HasVoice = false; |
|||
Muted = false; |
|||
UserVolume = 1; |
|||
} |
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 72da29b13ed488348a7520473d7db840 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue