浏览代码

docs: Add comments.

/main
Luke Stampfli 4 年前
当前提交
982d803e
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      Assets/BossRoom/Scripts/Client/ClientCharacterVisualization.cs
  2. 2
      Assets/BossRoom/Scripts/Server/ServerCharacterMovement.cs

2
Assets/BossRoom/Scripts/Client/ClientCharacterVisualization.cs


namespace BossRoom.Client
{
/// <summary>
///
/// <see cref="ClientCharacterVisualization"/> is responsible for displaying a character on the client's screen based on state information sent by the server.
/// </summary>
[RequireComponent(typeof(NetworkCharacterState))]
public class ClientCharacterVisualization : NetworkedBehaviour

2
Assets/BossRoom/Scripts/Server/ServerCharacterMovement.cs


private void Movement()
{
var corners = path.corners; // TODO: maybe use non-alloc version
var corners = path.corners;
// If we don't have a movement path stop moving
if (!corners.Any())

正在加载...
取消
保存