requiresNetwork
This is true if a network connection is required by the currently selected version control plugin to perform any action.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor.VersionControl
- Assembly: UnityEditor.CoreModule
public static bool requiresNetwork { get; }
Remarks
E.g. before doing anything using Perforce you need to checkout the asset, in order to do that a connection to the server is required where as subversion does not require access to the server to do changes to an asset.