您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

21 行
513 B

using System;
using Unity.Netcode;
using UnityEngine;
namespace Unity.Multiplayer.Samples.BossRoom
{
public enum WinState
{
Invalid,
Win,
Loss
}
/// <summary>
/// MonoBehaviour containing only one NetworkVariableBool to represent the game session's win state.
/// </summary>
public class NetworkWinState : NetworkBehaviour
{
public NetworkVariable<WinState> winState = new NetworkVariable<WinState>(WinState.Invalid);
}
}