I want to typedef a 2-dimensional Dictionary to a more readable type. Normally you would use
but it seems that Unity doesn't support namespaces, causing the compile to fail with the following errors:
Assets/System/MySQL.cs(79,23): error CS0246: The type or namespace name `MySQLDataTable' could not be found. Are you missing a using directive or an assembly reference?
Assets/System/MySQL.cs(8,19): error CS0246: The type or namespace name
Is there any work around so I don't have to use variables types like
You're missing the namespace for Dictionary (it won't parse it from another using statement, you have to add it manually when you're doing it the way you're trying)
This compiles fine for me:
answered Mar 17 '11 at 10:32 AM