spaceFree
The number of bytes left in this cache before it reaches Cache.maximumAvailableStorageSpace.
읽는 시간 1분최근 업데이트: 17일 전
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public long spaceFree { get; }
Remarks
This value is Cache.maximumAvailableStorageSpace minus Cache.spaceOccupied, or 0 if the cache already holds more than the limit, for example after you lower Cache.maximumAvailableStorageSpace. It doesn't account for the free space on the storage device, so with the default Cache.maximumAvailableStorageSpace it's a very large number.
For how Unity frees space when a download doesn't fit, refer to Cache.maximumAvailableStorageSpace.