包含此页的版本:
不含此页的版本:
class in UnityEngine.Networking.NetworkSystem
/
继承自:Networking.MessageBase
Utility 类,用于发送没有内容的网络消息。
using UnityEngine; using UnityEngine.Networking; using UnityEngine.Networking.NetworkSystem;public class Test { void SendNotification() { var msg = new EmptyMessage(); NetworkServer.SendToAll(667, msg); } }