forked from Unity-Technologies/UnityCsReference
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlayerConnection.cs
More file actions
20 lines (17 loc) · 779 Bytes
/
Copy pathPlayerConnection.cs
File metadata and controls
20 lines (17 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
namespace UnityEngine.Diagnostics
{
public static class PlayerConnection
{
[Obsolete("Use UnityEngine.Networking.PlayerConnection.PlayerConnection.instance.isConnected instead.")]
public static bool connected { get { return UnityEngine.Networking.PlayerConnection.PlayerConnection.instance.isConnected; } }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("PlayerConnection.SendFile is no longer supported.", true)]
public static void SendFile(string remoteFilePath, byte[] data)
{
}
}
}