So I have this method:
public void save()
{
_BaseStats script = managerScript.GetComponent<_BaseStats>();
ES2.Save(script.publicLevel, "currentLevel");
}
But It's telling me that the name ES2 does not exist in the current context.
I'm dumb I guess because I cant figure this out.
ES2Init, ES2UniqueID, ES2_AudioClip, ES2_GameObject and ES2_RawTexture2D are all giving me shortcut options but not just ES2.
Help?
Error with using the key word "ES2."
Re: Error with using the key word "ES2."
Hi there,
I've had no reports of this, but it sounds like Unity isn't including or compiling the Assembly-CSharp-firstpass pass. The most common reason for this is that there is an error in console which needs resolving. Please could you check that there are no errors in the Unity console?
If this does not fix your issue, please could you PM me a basic project which replicates this?
All the best,
Joel
I've had no reports of this, but it sounds like Unity isn't including or compiling the Assembly-CSharp-firstpass pass. The most common reason for this is that there is an error in console which needs resolving. Please could you check that there are no errors in the Unity console?
If this does not fix your issue, please could you PM me a basic project which replicates this?
All the best,
Joel
Re: Error with using the key word "ES2."
sorry i didnt get back to you sooner.
i deleted the imported files and then reimported them back into my project and the keyword worked just fine afterwards.
i have one more question though and so i thought i would thank you for the assistance before asking.
i will start a new thread for my new question though. thanks again for the help, Joel : )
i deleted the imported files and then reimported them back into my project and the keyword worked just fine afterwards.
i have one more question though and so i thought i would thank you for the assistance before asking.
i will start a new thread for my new question though. thanks again for the help, Joel : )