How can we make a javascript file object in a C# class. I have tried like this.
using UnityEngine;
using System.Collections;
public class MyCSharpClassName : MonoBehaviour
{
MyJavaSctipt Obj;
}
it gives the following error
Assets/Scripts/MyCSharpClassName.cs(15,9): error CS0246: The type or namespace name `MyJavaSctipt’ could not be found. Are you missing a using directive or an assembly reference?
I have tried by inheriting the MyJavaScript but it gives same error
Anything I am doing wrong.
thanks in advance
unityboy