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

21 行
636 B

using UnityEngine;
namespace BossRoom.Client
{
[RequireComponent(typeof(BossRoom.NetworkCharacterState))]
public class ClientCharacter : MLAPI.NetworkedBehaviour
{
/// <summary>
/// The Vizualization GameObject isn't in the same transform hierarchy as the object, but it registers itself here
/// so that the visual GameObject can be found from a NetworkId.
/// </summary>
public BossRoom.Visual.ClientCharacterVisualization ChildVizObject { get; set; }
public override void NetworkStart()
{
if (!IsClient) { this.enabled = false; }
}
}
}