I’m surprised I can’t find an answer to this question in the forums… but how does one use Directory and File operations on a Unity Editor script on a Mac?
It looks like both the Directory and File class inherit from Unity.Windows. When I try to include UnityEngine.Windows in my script, I get the error:
“The type or namespace name ‘Windows’ does not exist in the namespace.”
I’m assuming UnityEngine.Windows isn’t included/can’t work on a Mac. Then how can I write text files, create directories??
I’m not seeing that mention where I found it at the top of Google.
EDIT: This appears to be a func of that class - since it’s grossly specific, every func under Directory really should really be disclaiming this. No one is going to think they’ll need to cascade down every single parent doc to check for rare, niche disclaimers that won’t generally exist elsewhere.