ForceUpdate
User initiated asset import.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
ForceUpdate = 1
Remarks
This should be passed when asset import is caused by the user (e.g. by clicking Reimport). Non-user initiated import happens when the asset modification time changes.
Additional Resources: AssetDatabase.ImportAsset, AssetDatabase.Refresh.