24 lines
		
	
	
		
			444 B
		
	
	
	
		
			TypeScript
		
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			444 B
		
	
	
	
		
			TypeScript
		
	
	
| import Input from './input';
 | |
| import Unity from './unity';
 | |
| import Action from './action';
 | |
| 
 | |
| class Project {
 | |
|   static get relativePath() {
 | |
|     const { projectPath } = Input;
 | |
| 
 | |
|     return `${projectPath}`;
 | |
|   }
 | |
| 
 | |
|   static get absolutePath() {
 | |
|     const { workspace } = Action;
 | |
| 
 | |
|     return `${workspace}/${this.relativePath}`;
 | |
|   }
 | |
| 
 | |
|   static get libraryFolder() {
 | |
|     return `${this.relativePath}/${Unity.libraryFolder}`;
 | |
|   }
 | |
| }
 | |
| 
 | |
| export default Project;
 |