기술 자료

Unity Engine

Unity Engine

SetLaunchScreenImage(Texture2D, iOSLaunchScreenImageType)

Sets the image to display on screen when the game launches for the specified iOS device.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void SetLaunchScreenImage(Texture2D image, iOSLaunchScreenImageType type)

Parameters

Remarks

This function adds the specified image to the launch screen's Interface Builder (.xib) file in the generated iOS Xcode project. The image is only used by iOSLaunchScreenType.ImageAndBackgroundConstant and iOSLaunchScreenType.ImageAndBackgroundRelative. Use the PlayerSettings.iOS.SetiPhoneLaunchScreenType or PlayerSettings.iOS.SetiPadLaunchScreenType functions to set the launch screen type for your target device.