Caching.CleanCache Manual     Reference     Scripting  
Scripting > Runtime Classes > Caching
Caching.CleanCache

static function CleanCache () : bool

Description

Delete the cache folder associated with this content.

This function is only available when you have a caching lincense.

Caching.Authorize (name, domain, size, signature);
if (GUILayout.Button("Uninstall Game"))
Caching.CleanCache ();