I’m new and I try to get accustomed with Unity Engine API.
I see in the scripting forum all those classes and function not included in the Unity API documentation. Like “File.”, “Environment”, “WriteAllBytes()” etc.
Are these from MSDN Library?
Does Unity supports other Libraries?
And if yes which ones?
Are they cross-platform, and if not which ones for each platform?
1 Answer
1Unity’s scripting is built on Mono, the open-source implementation of the .NET framework.
When in doubt I do google searches that start with .net.
Examples:
- .net String.replace
- .net File.WriteAllBytes
Here’s the page for File.WriteAllBytes:
File.WriteAllBytes(String, Byte[]) Method (System.IO) | Microsoft Learn
It’s ugly and hard to read in my opinion, but better than nothing.
Thank you for clarifying things out.
– zazoum