Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateProfile(string)

Creates a new profile with the given profile ID.
Read time 1 minuteLast updated 11 days ago

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
.