文档

Unity Engine

Unity Engine

WindowSizeChanged

This event occurs when window rendering size changes.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Delegate
  • Namespace: UnityEngine.WSA
  • Assembly: UnityEngine.CoreModule
public delegate void WindowSizeChanged(int width, int height)

Remarks

For ex., when you snap the application. See http://ppe.msdn.microsoft.com/en-us/library/windows/apps/windows.ui.core.corewindow.sizechanged for more information.