Handles the connection from the Editor to the Player.
Sets up events for connecting to and sending data to the Player.
This is a singleton class and can be accessed using EditorConnection.instance.
This can only be used in a class that inherits from MonoBehaviour, Object or ScriptableObject.
Set the "Autoconnect Profiler" in the Build Settings or build the Player through code with the BuildPipeline using build options: BuildOptions.ConnectToHost and BuildOptions.Development to initialize the connection.
The Player ID is used to tell multiple connected Players apart. By default, data is sent to all Players. A connected Player's ID is not guaranteed to be the same the next time it connects.
| ConnectedPlayers | A list of the connected players. | 
| DisconnectAll | すべてのアクティブな接続を切断します。 | 
| Initialize | Initializes the EditorConnection. | 
| Register | Registers a callback on a certain message ID. | 
| RegisterConnection | Registers a callback, executed when a new Player connects to the Editor. | 
| RegisterDisconnection | Registers a callback on a Player when that Player disconnects. | 
| Send | Sends data to multiple or single Player(s). | 
| Unregister | Deregisters a registered callback. | 
| GetInstanceID | オブジェクトのインスタンス ID を返します | 
| ToString | ゲームオブジェクトの名前を返します | 
| Destroy | ゲームオブジェクトやコンポーネント、アセットを削除します | 
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. | 
| DontDestroyOnLoad | 新しいシーンを読み込んでもオブジェクトが自動で破壊されないように設定します | 
| FindObjectOfType | タイプ type から最初に見つけたアクティブのオブジェクトを返します | 
| FindObjectsOfType | タイプから見つけたすべてのアクティブのオブジェクト配列を返します | 
| Instantiate | original のオブジェクトをクローンします | 
| CreateInstance | ScriptableObject のインスタンスを作成します。 | 
| bool | オブジェクトが存在するかどうか | 
| operator != | 二つのオブジェクトが異なるオブジェクトを参照しているか比較します | 
| operator == | 2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。 |