Assets/Difficulty.cs(6,21): error CS0116: A namespace can only contain types and namespace declarations
Sorry, yes, my bad…
using System;
Assets/Difficulty.cs(6,21): error CS0116: A namespace can only contain types and namespace declarations
private static void Set(Type enumType, object value, object variable)
I put using System; in and it is still throwing this error. Does it need to be attached to an object now?
MonoDevelop doesnt like the void. Says it is expecting something else.
Can you paste your full script up so I can see?