namespace SQLHacker
{
public class SQLUI : MonoBehaviour
{
void Awake()
{
var myString = SQLHacker.Properties.Resources.CorrectQuery_01;
}
}
}
I have set default namespace in the solution properties of Editor/Plugins and main soluition in VS and in Unity in edit->project settings->editor.
I am wanting to load a long string to the var myString.
I get the error Properties could not be found in SQLHacker, are you missing an assembly reference? This only happens in Unity editor and is fine compiling in VS.
↧