Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Closeassets | List of assets to add to version control system. |
recursive | Set this true if adding should be done recursively into subfolders. |
asset | Single asset to add to version control system. |
Adds an assets or list of assets to version control.
If the input asset is a folder setting the recursive flag will add all assets and assets in subfolders to the version control system.