Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


spaceOccupied

Returns the used disk space in bytes.
Read time 1 minuteLast updated 4 days ago

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 insufficient space is available in the cache to store a requested AssetBundle, the least-recently-used cached AssetBundles in the cache will be iteratively removed until enough space is available for the new AssetBundle.