Hello, I am just trying to do Application.targetFrameRate = 60;
Just so I can cap the fps at 60 (clearly). I honestly don’t know why this is erroring any help would be appreciated.
'Application' is an ambiguous reference between 'UnityEngine.Application' and 'System.Net.Mime.Media
This isn’t a 2D forum question, it’s a basic C# question.
Both “UnityEngine” and “System.Net.Mime.Media” likely have a type of “Application” then. If you’re “using” both those namepsaces then the compiler has no idea (it’s ambiguous) which you want so you need to fully qualify which one you need i.e. “UnityEngine.Application.targetFrameRate = 60;”.
This is C# 101 though so I’ll move this post to Getting Started forum for you.
Ye sorry wasn’t sure where to put it. I have since fixed the issue stupid name space that I aint sure why it was even there. Though I do have another question which is 2D.