- Home /
Question by
sarahAiyad · Sep 08, 2013 at 04:52 PM ·
variable-definition
convert javascript to c#
i need to convert this script from javascript to c# clone= Instantiate(fireBall,hand.position,hand.rotation); var bulletScript = clone.gameObject.AddComponent("bulletScript");
where clone is a rigidbody
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613113812im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Compile error BCE0044: unexpected char: ''' 1 Answer
One More JScript ot C# Question 3 Answers
I have my items in inventory, now if I could only use them... 1 Answer
The variable has not been assigned 0 Answers
Need help converting js to C 2 Answers