Method group is Obsolete

EmptyMessage

class in UnityEngine.Networking.NetworkSystem

/

继承自:Networking.MessageBase

切换到手册
Obsolete

描述

Utility 类,用于发送没有内容的网络消息。

using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.Networking.NetworkSystem;

public class Test { void SendNotification() { var msg = new EmptyMessage(); NetworkServer.SendToAll(667, msg); } }

继承的成员