文档

Unity Engine

Unity Engine

position

The position of the banner view.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine.iOS
  • Assembly: UnityEngine.CoreModule
警告
Removed. iOS.ADBannerView class is obsolete, Apple iAD service discontinued
public Vector2 position { get; set; }

Remarks

It uses unity GUI coords and convention, so it is top-left corner coords. If you change it, banner will become manually layed-out automatically. Please note that for Traditional Banner x component is ignored.