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

29 行
959 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using BossRoom;
namespace BossRoom.Client
{
/// <summary>
/// Game Logic that runs when sitting at the MainMenu. This is likely to be "nothing", as no game has been started. But it is
/// nonetheless important to have a game state, as the GameStateBehaviour system requires that all scenes have states.
/// </summary>
public class ClientMainMenuState : GameStateBehaviour
{
public override GameState ActiveState { get { return GameState.MAINMENU; } }
public override void NetworkStart()
{
//note: this code won't ever run, because there is no network connection at the main menu screen.
//fortunately we know you are a client, because all players are clients when sitting at the main menu screen.
}
// Update is called once per frame
void Update()
{
}
}
}