Version: 2022.3

PlayModeWindow.SetCustomRenderingResolution

切换到手册
public static void SetCustomRenderingResolution (uint width, uint height, string baseName);

参数

width The custom resolution width.
height The custom resolution height.
baseName The basename for the custom resolution entry.

描述

Adds a new Custom resolution entry with the specified baseName. If an entry with the same baseName already exists, this method updates the resolution of this entry with the new values.