/// <summary> /// Scene selection from the list added to the BuildSettings /// </summary> /// <param name="enableOnly">Show only active</param> public SceneNameAttribute(bool enableOnly = true) { if (enableOnly) { SelectType = SceneSelectType.EnabledOnly; } else { SelectType = SceneSelectType.ActiveOnly; } }
public SceneNameAttribute(SceneSelectType selectType) { SelectType = selectType; }