Class EditorConnection
Inheritance
EditorConnection
Assembly: UnityEditor.dll
Syntax
[Serializable]
public class EditorConnection : ScriptableSingleton<EditorConnection>, IEditorPlayerConnection
Properties
|
Improve this Doc
View Source
ConnectedPlayers
Declaration
public List<ConnectedPlayer> ConnectedPlayers { get; }
Property Value
Methods
|
Improve this Doc
View Source
DisconnectAll()
Declaration
public void DisconnectAll()
|
Improve this Doc
View Source
Initialize()
Declaration
|
Improve this Doc
View Source
Register(Guid, UnityAction<MessageEventArgs>)
Declaration
public void Register(Guid messageId, UnityAction<MessageEventArgs> callback)
Parameters
|
Improve this Doc
View Source
RegisterConnection(UnityAction<Int32>)
Declaration
public void RegisterConnection(UnityAction<int> callback)
Parameters
|
Improve this Doc
View Source
RegisterDisconnection(UnityAction<Int32>)
Declaration
public void RegisterDisconnection(UnityAction<int> callback)
Parameters
|
Improve this Doc
View Source
Send(Guid, Byte[])
Declaration
public void Send(Guid messageId, byte[] data)
Parameters
Type |
Name |
Description |
Guid |
messageId |
|
Byte[] |
data |
|
|
Improve this Doc
View Source
Send(Guid, Byte[], Int32)
Declaration
public void Send(Guid messageId, byte[] data, int playerId)
Parameters
|
Improve this Doc
View Source
Unregister(Guid, UnityAction<MessageEventArgs>)
Declaration
public void Unregister(Guid messageId, UnityAction<MessageEventArgs> callback)
Parameters
Implements
Extension Methods