Skip to content

Commit 6c75338

Browse files
committed
docs: Update jsdocs for waitForExit to quit
1 parent 4b0adad commit 6c75338

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/unityEditor.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,9 @@ class UnityEditor {
511511
* @param {ProjectInfo} projectInfo - Information about the project to create, including:
512512
* - path: Where to create the project
513513
* - editorVersion: Which Unity version to use
514-
* @param {boolean} [waitForExit=true] - Whether to wait for Unity to exit after creating the project
514+
* @param {boolean} [quit=false] - Whether to wait for Unity to exit after creating the project
515515
* Set to false to keep Unity open after project creation
516+
* @param {boolean} [useHub=true] - Whether to use Unity Hub for creating the project
516517
* @returns {Promise<boolean>} - Promise resolving to true if project creation was successful, false otherwise
517518
* @example
518519
* // Create a new project using Unity 2022.3.15f1
@@ -577,8 +578,9 @@ class UnityEditor {
577578
* - path: Where to create the project
578579
* - editorVersion: Which Unity version to use
579580
* @param {string} templatePath - The path to the template to use for the project, you can get templates path with unityTemplates.ts
580-
* @param {boolean} [waitForExit=true] - Whether to wait for Unity to exit after creating the project
581+
* @param {boolean} [quit=false] - Whether to wait for Unity to exit after creating the project
581582
* Set to false to keep Unity open after project creation
583+
* @param {boolean} [useHub=true] - Whether to use Unity Hub for creating the project
582584
* @returns {Promise<boolean>} - Promise resolving to true if project creation was successful, false otherwise
583585
* @example
584586
*

0 commit comments

Comments
 (0)