I need to save a number to my hard disk. Then load the number from my hard disk from that location.
This is what I have for saving the number.
static var levNo = 1;
function OnCollisionEnter () {
levNo = 2;
}
//save number to hard disk
This is for loading the number off of the hard disk.
if(Save Level.levNo == 2)
{
print("Level 1 Loaded");
//turn level 1 gui on
}
So I just need a number saved and loaded. But to a specific location. Any help please?