当前提交
c06c142d
共有 5 个文件被更改,包括 41 次插入 和 61 次删除
-
14Assets/Prefabs/UI/LogManager.prefab
-
42Assets/Scripts/Game/LobbyUser.cs
-
23Assets/Scripts/Game/LobbyUserAudio.cs
-
23Assets/Scripts/Game/LocalUserVolume.cs
-
0/Assets/Scripts/Game/LobbyUserAudio.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 { get; set; } |
|||
public bool Muted { get; set; } |
|||
public float UserVolume { get; set; } |
|||
|
|||
public LobbyUserAudio(string userID) |
|||
{ |
|||
ID = userID; |
|||
HasVoice = false; |
|||
Muted = false; |
|||
UserVolume = 1; |
|||
} |
|||
} |
|||
} |
|
|||
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; |
|||
} |
|||
} |
|||
} |
撰写
预览
正在加载...
取消
保存
Reference in new issue