Question by
spenmich · Jan 24, 2017 at 05:32 AM ·
c#javascriptscripting problemfunction
Running C# Function from JS file
Hey all,
I'm trying to run a function in C# from JS. My JS file has:
GetComponent("C#File").FunctionName();
But in the editor it's telling me that the function isn't a member of UnityEngine.Component.
Thanks so much!
Comment
Your answer
Follow this Question
Related Questions
Noob Here... Can you please give Script for moving a object into random Direction. 0 Answers
How to add a Type to a Class in Javascript? 1 Answer
GameJolt API simple Score 0 Answers
OnCollisonEnter2D Not Firing after checking collider 1 Answer
convert this 3 line code to c# ? i cant figure it out? 1 Answer