Here is the code:
Code: Select all
if (ES3.KeyExists("infantryExp"))
{
infantryExp = ES3.Load<int>("infantryExp");
}
Apologies if this is a silly issue as I am still fairly new to code and don't have a particularly good understanding of how Easy Save 3 exactly works.The type arguments for method 'ES3.Save<T>(string, object)' cannot be inferred from the usage. Try specifying the type arguments explicitly.