ドキュメント

Unity Engine

Download Unity

Unity Engine

spaceOccupied

Returns the used disk space in bytes.
読み終わるまでの所要時間 1 分最終更新 8時間前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public long spaceOccupied { get; }

Remarks

Initially this is 0. As you download AssetBundles to the cache, this will increase. If a new AssetBundle doesn't fit, Unity deletes the versions whose last use is the oldest. For details, refer to Cache.maximumAvailableStorageSpace.