Unity Engine documentationScript ReferenceUnityEditorUnityEditor.VersionControlAssetlockedReturns true if the asset is locked by the version control system.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEditor.VersionControl Assembly: UnityEditor public bool locked { get; }