您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
38 行
900 B
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()
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
|