class in UnityEditor.VersionControl
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.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
This class containes information about the version control state of an asset.
|Gets the path of the Asset relative to the project root. If the Asset is a meta file, the path to the meta file is returned.
|Gets the full name of the asset including extension.
|Returns true if the asset is a folder.
|Returns true if the asset file exists and is in the current project.
|Returns true if the instance of the Asset class actually refers to a .meta file.
|Returns true if the asset is locked by the version control system.
|Gets the path of the meta file for this Asset relative to the project root. If the Asset is a meta file, the path to the meta file is returned.
|Get the name of the asset.
|Gets the path of the asset.
|Returns true is the asset is read only.
|Gets the version control state of the asset.