文档

Unity Engine

Unity Engine

Ping(string)

Perform a ping to the supplied target IP address.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Ping(string address)

Parameters

address

Remarks

This does not perform DNS lookups on host names so it only accepts IP addresses in dot notation.