Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

Ping

class in UnityEngine

Руководство

Описание

Ping any given IP address (given in dot notation).

The ping operation is asynchronous and a ping object can be polled for status using Ping.isDone. When a response is received it is in Ping.time.

Переменные

ipThe IP target of the ping.
isDoneHas the ping function completed?
timeThis property contains the ping time result after isDone returns true.

Конструкторы

PingPerform a ping to the supplied target IP address.