Boss Room 是一款使用 Unity MLAPI 制作的全功能合作多人 RPG。 它旨在作为学习样本,展示类似游戏中经常出现的某些典型游戏模式。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

38 行
900 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MLAPI;
namespace BossRoom
{
/// <summary>
/// Common data and RPCs for the CharSelect stage.
/// </summary>
public class CharSelectData : NetworkedBehaviour
{
//TODO: GOMPS-83. implement the true synced array for CharacterSlots. There should be 8, and some can be null.
//They can probably just be strings for now.
private MLAPI.NetworkedVar.Collections.NetworkedList<string> CharSlots;
// Start is called before the first frame update
void Start()
{
}
public override void NetworkStart()
{
base.NetworkStart();
CharSlots = new MLAPI.NetworkedVar.Collections.NetworkedList<string>();
}
// Update is called once per frame
void Update()
{
}
}
}