styly-dev / WebRequest_VisualScriptingNodes

Visual Scripting Nodes and a handy wrapper for the Unity WebRequest class
MIT License
2 stars 0 forks source link

Store cache with file extension #22

Closed from2001 closed 4 months ago

from2001 commented 5 months ago

File extensions are used to determined the codec for VideoPlayer component, GetAudioClip etc.

from2001 commented 4 months ago

https://github.com/styly-dev/WebRequest_VisualScriptingNodes/blob/c6553337da14555fec5530815b1f9786908c615c/Packages/com.styly.webrequest-visualscripting-nodes/Runtime/CacheUtils.cs#L130