UnityEditor
    
            
    
    
    
        
        
    Table of Contents
    
    Constants
    
            - 
    ARGUMENT_LICENSE_USE
    
         = '-manualLicenseFile'                            
- 
    ENV_UNITY_ACCELERATOR_ENDPOINT
    
         = 'UNITY_ACCELERATOR_ENDPOINT'                            
- 
    ENV_UNITY_ACCELERATOR_PARAMS
    
         = 'UNITY_ACCELERATOR_PARAMS'                            
- 
    ENV_UNITY_NO_GRAPHICS
    
         = 'UNITY_NO_GRAPHICS'                            
    Properties
    
            - 
    $executable
    
                         : string            
- 
    $hub
    
                         : UnityHub            
- 
    $version
    
                         : string            
    Methods
    
            - 
    __construct()
    
                                 : mixed    
- 
    __toString()
    
                                 : string    
- 
    createEmptyProject()
    
                                 : UnityProject    
- 
    createLicenseFile()
    
                                 : string|null    
- 
    execute()
    
                                 : Process    
- 
    install()
    
                                 : bool    
- 
    installModules()
    
                                 : bool    
- 
    isInstalled()
    
                                 : bool    
- 
    isLicensed()
    
                                 : bool    
- 
    license()
    
                                 : bool    
- 
    setExecutable()
    
                                 : mixed    
- 
    useLicenseFile()
    
                                 : bool    
        ARGUMENT_LICENSE_USE
        
    
    
    
    
    
    public
        mixed
    ARGUMENT_LICENSE_USE
    = '-manualLicenseFile'
    
    
    
    
                    
    
        ENV_UNITY_ACCELERATOR_ENDPOINT
        
    
    
    
    
    
    public
        mixed
    ENV_UNITY_ACCELERATOR_ENDPOINT
    = 'UNITY_ACCELERATOR_ENDPOINT'
    
    
    
    
                    
    
        ENV_UNITY_ACCELERATOR_PARAMS
        
    
    
    
    
    
    public
        mixed
    ENV_UNITY_ACCELERATOR_PARAMS
    = 'UNITY_ACCELERATOR_PARAMS'
    
    
    
    
                    
    
        ENV_UNITY_NO_GRAPHICS
        
    
    
    
    
    
    public
        mixed
    ENV_UNITY_NO_GRAPHICS
    = 'UNITY_NO_GRAPHICS'
    
    
    
    
            
        
    
        
                    
    
        $executable
        
        
                                            
    
    
    
    
    
        public
            string
    $executable
     = null
    
    
    
    
    
                    
    
        $hub
        
        
                                            
    
    
    
    
    
        public
            UnityHub
    $hub
    
    
    
    
    
    
                    
    
        $version
        
        
                                            
    
    
    
    
    
        public
            string
    $version
    
    
    
    
    
    
            
            
        
                    
    
        __construct()
        
    
    
    
    
    public
                    __construct(UnityHub $hub, string $version) : mixed
    
        
    
    
        Parameters
    
                    - 
                $hub
                : UnityHub
                            
- 
                
            
- 
                $version
                : string
                            
- 
                
            
        __toString()
        
    
    
    
    
    public
                    __toString() : string
    
        
    
    
    
    
    
            
                    
    
        createEmptyProject()
        
    
    
    
    
    public
                    createEmptyProject(string $path) : UnityProject
    
        
    
    
        Parameters
    
                    - 
                $path
                : string
                            
- 
                
            
        createLicenseFile()
        
    
    
    
    
    public
                    createLicenseFile() : string|null
    
        
    
    
    
    
    
            
        Return values
        string|null
            
                    
    
        execute()
        
    
    
    
    
    public
                    execute(bool $validateExitCode, string ...$arguments) : Process
    
        
    
    
        Parameters
    
                    - 
                $validateExitCode
                : bool
                            
- 
                
            
- 
                $arguments
                : string
                            
- 
                
            
        install()
        
    
    
    
    
    public
                    install() : bool
    
        
    
    
    
    
    
            
                    
    
        installModules()
        
    
    
    
    
    public
                    installModules(string ...$modules) : bool
    
        
    
    
        Parameters
    
                    - 
                $modules
                : string
                            
- 
                
            
        isInstalled()
        
    
    
    
    
    public
                    isInstalled() : bool
    
        
    
    
    
    
    
            
                    
    
        isLicensed()
        
    
    
    
    
    public
                    isLicensed(string $projectPath) : bool
    
        
    
    
        Parameters
    
                    - 
                $projectPath
                : string
                            
- 
                
            
        license()
        
    
    
    
    
    public
                    license(string $projectPath[, mixed $assumeSuccess = false ]) : bool
    
        
    
    
        Parameters
    
                    - 
                $projectPath
                : string
                            
- 
                
            
- 
                $assumeSuccess
                : mixed
                 = false            
- 
                
            
        setExecutable()
        
    
    
    
    
    public
                    setExecutable(string $executable) : mixed
    
        
    
    
        Parameters
    
                    - 
                $executable
                : string
                            
- 
                
            
        useLicenseFile()
        
    
    
    
    
    public
                    useLicenseFile(string $file) : bool
    
        
    
    
        Parameters
    
                    - 
                $file
                : string
                            
-