public class className : MonoBehaviour {
public static void record() {
blah blah..
}
}
i want to call above record function from a js file...how can i do that ..
already tried this "className.record();" but its not working.
i want to call the record function here..
this is the code of java file.
if(hit.gameObject.tag == "Ball")
{
//code to call the record function
}
what else method could be to call the record function from a js file.i am using unity 3.5 pro.