Hello, I have a problem and haven´t found any info… I must inserte some functions in an old unity game. The new function is solved with a C# script to use the process function from the System.Diagnostics. Now, I try to get some static variables from another Java-script in the C# script.
How can I do it?
I tryed this, where main the js-script is to get a reference:
main mScript = GetComponent();
error:
Assets/Scripts/ExecutePrint.cs(15,9): error CS0246: The type or namespace name `main’ could not be found. Are you missing a using directive or an assembly reference?