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