文档

Unity Engine

Unity Engine

CreateProfile(string)

Creates a new profile with the given profile ID.
阅读时间1 分钟最后更新于 1 个月前

Definition

void CreateProfile(string profileId)

Parameters

profileId

ID of created profile.

Remarks

Throws
ArgumentNullException
if
profileId
is
null
. Throws
ArgumentException
if
profileId
is invalid. Throws
ArgumentException
if
profileId
is not unique, i.e. when IShortcutManager.GetAvailableProfileIds contains
profileId
.