文档

Unity Engine

Download Unity

Unity Engine

EarlyUpdate.PollPlayerConnection

Native Player loop system that processes messages between the Editor and connected Players, such as Profiler and Console data.
阅读时间1 分钟最后更新于 6 天前

Definition

public struct EarlyUpdate.PollPlayerConnection

Remarks

This system is active only in the Editor and in Development Builds. In a Player, it receives messages from the connected Editor. In the Editor, it also discovers Players on the network and receives messages from them.
This struct identifies a native system in the Player loop. It has no members, and the system's update logic runs in native engine code. Use this type with PlayerLoopSystem.type to find the system when you reorder, replace, or remove it in a custom Player loop. For more information, refer to Customizing the Player loop.