Hii,
i am developing animation using javascript.But i want to call from c#.is dere any solution?please help me?
Just like passing variables between scripts should work.
gameObject.GetComponent(“C#scriptname”).FunctionName
gameObject.GetComponent(“C#scriptname”).VariableName
Just make sure to set the functions or variables you want to get to public.
EDIT: Note though, I am saying this as a unity developer in general, not an android one, so if it doesn’t work as simple as that, sorry. XD
thankx for dat.I have already apppiled dat.But problem is dat i havenot a defult animation in my .obj 3d model.So when i assigned gameobject for dat i found a nullrefence exception.so can we add animation clip to the .obj 3d model so dat i assign gameObject for dat and it willnot give nullRefernceException.can u please help me.