I want to start a mod with the available API, however, I'm facing a big issue with the initial "using" declarations.
The Debug Journal inform me with the following error :
"Error CS0246: The type or namespace name 'UnityEngine' could not be found. Are you missing a using directive or an assembly reference?"
Here is the current source :
I'm taking the using directly from the wiki modding API page, so what am I doing wrong?
The Debug Journal inform me with the following error :
"Error CS0246: The type or namespace name 'UnityEngine' could not be found. Are you missing a using directive or an assembly reference?"
Here is the current source :
Code:
using ICities;
using UnityEngine;
namespace MyMod
{
public class MyMod: IUserMod
{
public string Name { get { return "My Mod"; } }
public string Description { get { return "This is my mod"; } }
}
}
I'm taking the using directly from the wiki modding API page, so what am I doing wrong?